tasks.
to tell Django Q to pull the functions from tasks.py
. The final requirement is a schedule. Tasks can be run once or repeatedly (e.g. minutes, hourly, daily, weekly).release_servers()
function inside tasks.py
, you would enter the function name as: tasks.release_servers
scan_servers()
function accepts an active_only
argument to restrict scanning only to servers that have been checked out for a project.tasks.py
, ghostwriter.shepherd.tasks.release_domains
. ghostwriter.shepherd.tasks.release_domains
under the name Domain Release
every day at 15:39 UTC with no additional args or kwargs.