How do I write a crontab script?

How do I write a crontab script?
Answer
Automate running a script using crontab
  1. Step 1: Go to your crontab file. Go to Terminal / your command line interface. …
  2. 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. …
  3. Step 3: Check that the cron command is working. …
  4. Step 4: Debugging potential problems.
8 авг. 2016 г.
 

Tìm kiếm

Back
Top