# email to the user the crontab file belongs to (unless redirected). # Output of the crontab jobs (including errors) is sent through # Notice that tasks will be started based on the cron's system # and day of week (dow) or use '*' in these fields (for 'any').# # minute (m), hour (h), day of month (dom), month (mon), # To define the time you can provide concrete values for # indicating with different fields when the task will be run # Each task to run has to be defined through a single line # Edit this file to introduce tasks to be run by cron. To add the new cron job run the below command – #crontab -e To see a list of cron jobs which exists on the machine, run the below command – # crontab -l General Syntax of a Cron Job MIN HOUR Day of month Month Day of Week CommandĠ-59 0-23 1-31 1-12 0-6 Any Linux command or script The Linux corn utility will help us to maintain these jobs to run in the background. As a system administrator, we know the importance of running the routine maintenance jobs in the background automatically. This article will teach you on, how to schedule a corn job for executing a script or command or shell script at a particular time every day.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |