A scheduled task is a task that is executed repeatedly at a specified time. It is called 'Periodical Tasks' in English and 'Crontab' in Linux. A periodical task can be executed multiple times, while the user does not need to perform the task manually. This is very common in production environments. Periodical tasks are very useful for users who need incremental fetching or real-time data.
The periodical tasks list is updated frequently. Every time a spider is updated, deleted, created, and a periodical task is updated, deleted, and created, the periodical tasks list will be updated.
Create Periodical Tasks
Navigate to the 'periodical tasks' page to see the list of periodical tasks.
Click 'Add Periodical Tasks' to pop up the create periodical task pop-up box. Fill in the corresponding content and click the submit button to create a periodical task.
'Cron' here is the same as 'crontab' in Linux. If you don't know about 'crontab', please refer to this article.
Modify Periodical Tasks
Navigate to the 'periodical tasks' page, click the 'modify' button in the 'operation' column, and a pop-up box for modifying the periodical task will pop up. Fill in the corresponding content and click the submit button to modify the periodical task.
Delete Periodical Tasks
Navigate to the 'periodical tasks' page, click the 'delete' button in the 'operation' column, confirm to delete the task.