Scheduling CRON Jobs with Crontab for Beginners

Crontab is an important utility that is used for scheduling cron jobs i.e. setting up a specified time-based job. Cron job can be a single command or we can also schedule cron to run bash scripts.

These cron jobs help us automate repetitive tasks like backups system updation or running some specific command or scripts etc. We can schedule cron jobs amp the system will then execute the mentioned commands or scripts without human intervention. Cron jobs can be scheduled to run on the minute hour day of the month month day of the week basis. We can also combine any of these to schedule cron jobs.

Recommended Read Beginners guide to Backup Postgres Database.

Also Read How to setup SSH login without password on Linux systems.

Syntax- We need to provide the cron job in the following format.

minute hour day of the month month day of the week commandscript path.

...

Read Full Post

News Link: https://thelinuxgurus.com/scheduling-cron-jobs-with-crontab-for-beginners/.
RSS Link: https://thelinuxgurus.com/feed/.

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.