1/14/2024 0 Comments Cron job timeThe syntax of each line expects a cron expression made of five fields which represent the time to execute the command, followed by a shell command to execute. # │ │ │ │ │ 7 is also Sunday on some systems) Įach line of a crontab file represents a job, and looks like this: etc/cron.d) that only system administrators can edit. Users can have their own individual crontab files and often there is a system-wide crontab file (usually in /etc or a subdirectory of /etc e.g. The crontab files are stored where the lists of jobs and other instructions to the cron daemon are kept. The actions of cron are driven by a crontab (cron table) file, a configuration file that specifies shell commands to run periodically on a given schedule. Scheduling one-time tasks can be accomplished using the associated at utility.Ĭron's name originates from Chronos, the Greek word for time. Ĭron is most suitable for scheduling repetitive tasks. It typically automates system maintenance or administration-though its general-purpose nature makes it useful for things like downloading files from the Internet and downloading email at regular intervals. Users who set up and maintain software environments use cron to schedule jobs (commands or shell scripts), also known as cron jobs, to run periodically at fixed times, dates, or intervals. The cron command-line utility is a job scheduler on Unix-like operating systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |