Is there any ready-made cron scheduled task scheduling under the Linux system (the main reason is that it is easy to learn, takes less time, and is very useful). Write a script to connect to the database, then insert data regularly, and then execute the script regularly. , by the way, there are a lot of crawlers!
Method 1: sched module
Method 2: APScheduler framework
You can use celery, asynchronous task framework, to set up scheduled tasks
Set a scheduled task
Is there any ready-made cron scheduled task scheduling under the Linux system (the main reason is that it is easy to learn, takes less time, and is very useful). Write a script to connect to the database, then insert data regularly, and then execute the script regularly. , by the way, there are a lot of crawlers!
crontab