@task
@needs('check_mongo', 'check_memcache', 'check_mysql')
@timed
def check_services():
 pass

@ task @ needs ( 'check_mongo' , 'check_memcache' , 'check_mysql' ) @ timed def check_services ( ) : pass
check that all required services are running .