()
Example cron task. Note we use "local" instead of "run"
    because this will run on the server.
Example cron task. Note we use "local" instead of "run"
    because this will run on the server.
Example cron task . Note we use local instead of run because this will run on the server .
def cron_test():
    """
    Example cron task. Note we use "local" instead of "run"
    because this will run on the server.
    """
    require('settings', provided_by=[production, staging])

    local('echo $DEPLOYMENT_TARGET > /tmp/cron_test.txt')
def cron_test ( ) : require ( 'settings' , provided_by = [ production , staging ] ) local ( 'echo $DEPLOYMENT_TARGET > /tmp/cron_test.txt' )