Nguyễn Ngọc Huỳnh
New member
How do I write a crontab script?
Answer
Automate running a script using crontab
Answer
Automate running a script using crontab
- Step 1: Go to your crontab file. Go to Terminal / your command line interface. …
- Step 2: Write your cron command. A Cron command first specifies (1) the interval at which you want to run the script followed by (2) the command to execute. …
- Step 3: Check that the cron command is working. …
- Step 4: Debugging potential problems.