How to Create/Update Cronjobs on main server

How to Create/Update Cronjobs on main server



To create or update a cron job you follow the below commands

1. Update the cron file in the main directory
  1. sudo nano /home/ec2-user/tab
  2. Update file with new cronjob or edit existing on
2. Push the change to the crontab
  1. sudo crontab -u ec2-user -r
  2. sudo crontab -u ec2-user /home/ec2-user/tab
  3. sudo crontab -u ec2-user -l to see it has been added.

Subscribe to Bloom and Grow Documentation

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe