- $ crontab -e
- Add
@reboot sh /path/to/find_or_start_scraper.sh
- Be sure to replace
/path/to/
with the correct path.
- $ crontab -e
- Add
10 * * * * /path/to/find_or_start_scraper.sh
-
- Be sure to replace
/path/to/
with the correct path.
- Be sure to replace
- The first number represents minutes. The example is set to run every 10 minutes. Setting it to '0' would run the script hourly. Seeting it to '*' would run the script every minute.