Many times there is a need to run a script in our server periodically. We can schedule our work using cron. The first thing that we need to do is to go to the terminal and to open the crontab by typing the command:

crontab -e

The first time, it will ask you to choose your editor, which can be then nano, vim etc. Personally, I prefer the nano which is the simplest one. Once we open the editor we are ready to schedule our cron job.

#linux #ai #cronjob #cron #scheduling

How to schedule a Cron Job in Linux
2.00 GEEK