Steps to Setting up CRON file
1. Backup existing Cron file
> crontab -l > cron.xo1.20190626
2. Compare Actual cron file and backup cron file (To cross verify whether we copied properly or not)
> diff cron.xo1 cron.xo1.20190626
3. Upload the cron file after making necessary changes i.e, cron.xo1
4. File permission is not required, but make sure it is 644
5. Compare both of the file (now we can see the newly added lines in cron file)
> diff cron.xo1 cron.xo1.20190626
6. Setup cron file after making changes
> crontab cron.xo1
7. Check the cron file
> crontab -l
1. Backup existing Cron file
> crontab -l > cron.xo1.20190626
2. Compare Actual cron file and backup cron file (To cross verify whether we copied properly or not)
> diff cron.xo1 cron.xo1.20190626
3. Upload the cron file after making necessary changes i.e, cron.xo1
4. File permission is not required, but make sure it is 644
5. Compare both of the file (now we can see the newly added lines in cron file)
> diff cron.xo1 cron.xo1.20190626
6. Setup cron file after making changes
> crontab cron.xo1
7. Check the cron file
> crontab -l
Refer Cron Tab Guru for Hands on Experience:
No comments:
Post a Comment