How do I schedule a job in Unix?

How do I schedule a job in Unix?
Answer
Scheduling batch jobs using cron (on UNIX)
  1. Create an ASCII text cron file, such as batchJob1. …
  2. Edit the cron file using a text editor to input the command to schedule the service. …
  3. To run the cron job, enter the command crontab batchJob1. …
  4. To verify the scheduled jobs, enter the command crontab -1 .
 

Tìm kiếm

Back
Top