Softwares |
Main /
Linux-Cron-FormatMain.Linux-Cron-Format HistoryShow minor edits - Show changes to output Added lines 1-4:
(:Google1:) (:Googletxt:) ---- Added lines 7-21:
NAME crontab - maintains crontab files for individual users SYNOPSIS crontab [-u user] file crontab [-u user] [-l | -r | -e] [-i] [-s] crontab -n [ hostname ] crontab -c DESCRIPTION Crontab is the program used to install, remove or list the tables used to serve the cron(8) daemon. Each user can have their own crontab, and though these are files in /var/spool/, they are not intended to be edited directly. Deleted lines 48-60:
NAME crontab - maintains crontab files for individual users SYNOPSIS crontab [-u user] file crontab [-u user] [-l | -r | -e] [-i] [-s] crontab -n [ hostname ] crontab -c DESCRIPTION Crontab is the program used to install, remove or list the tables used to serve the cron(8) daemon. Each user can have their own crontab, and though these are files in /var/spool/, they are not intended to be edited directly. Changed lines 30-31 from:
to:
Changed lines 53-61 from:
/etc/cron. @] to:
/etc/cron.deny Added lines 3-5:
(:table border=1 width=50% bgcolor=yellow cellspacing=0 :) (:cellnr:) Added lines 22-59:
@] (:tableend:) ---- (:Googlemm:) [@ NAME crontab - maintains crontab files for individual users SYNOPSIS crontab [-u user] file crontab [-u user] [-l | -r | -e] [-i] [-s] crontab -n [ hostname ] crontab -c DESCRIPTION Crontab is the program used to install, remove or list the tables used to serve the cron(8) daemon. Each user can have their own crontab, and though these are files in /var/spool/, they are not intended to be edited directly. Running cron jobs can be allowed or disallowed for different users. For this purpose, use the cron.allow and cron.deny files. If the cron.allow file exists, a user must be listed in it to be allowed to use cron If the cron.allow file does not exist but the cron.deny file does exist, then a user must not be listed in the cron.deny file in order to use cron. If neither of these files exists, only the super user is allowed to use cron. Another way to restrict access to cron is to use PAM authentication to set up users, which are allowed or disallowed to use crontab or modify system cron jobs in the /etc/cron.d/ directory. The temporary directory can be set in an environment variable. If it is not set by the user, the /tmp directory is used. SEE ALSO crontab(5),cron(8) FILES /etc/cron.allow /etc/cron.deny Added lines 1-20:
'''Linux Crontab Format''' [@ Minute, Hours, Day-of-month, Month, Day-of-week [Command-to-run] * * * * * CMD 0-59 0-23 1-31 1-12 0-6 /root/load-alerts 1-5 -Mon, Tue, Wed, Thu and Fri (Every Weekday) */10 = Every 10 Minutes. 0-10/2 in minute field mean every 2 minutes in the first 10 minute. 9 a.m – 6 p.m = 09-18 @] |