-
Notifications
You must be signed in to change notification settings - Fork 75
Using scheduled tasks
Mathias Stuhlmacher edited this page Apr 10, 2021
·
3 revisions
For functions for which automation makes sense, functions are created in the course of development that allow automation via Scheduled tasks by Django Q. How these are set up after creating an administrative user is described below.
Important: an user with Superuser status is required for creating Scheduled tasks.
- Modules:
dfirtrack_config.views.statushistory.statushistory_save_cron
- Version: v0.4.5 or above
Statushistory entries may created / saved manually or on a regular basis. For automatic creation of statushistory entries use this function.
You can find a button "Create scheduled task" with a clock icon on the status page.
This will open a new tab for a new scheduled task form pre-filled with the required function dfirtrack_config.views.statushistory.statushistory_save_cron
.
Choose the time as you prefer, e. g. one time a day.