SCHEDULE
TASK
__________________________________________________________________________________________________________________________________________________________________
v Crone
Cron is a daemon which runs at the times of
system boot from /etc/init.d scripts. If needed it can be
stopped/started/restart/using init script or with command service crond start
in Linux systems.
Ø Cron related commands
#
systemctl ɸ stop ɸ crond ↵
#
systemctl ɸ status ɸ crond ↵
#
systemctl ɸ start ɸ crond ↵
v Crontab
Crontab
(CRON TABLE) is a file which contains the schedule of cron entries to be run
and at specified times.
#
Crontab ɸ -e ↵
§ crontab –e Edit crontab file, or create one
if it doesn’t already exist.
§
crontab –l Display
crontab file contents (cron jobs).
§
crontab –r Remove
crontab file contents (cron jobs).
§ crontab –v Display the last time you edited
your crontab file. (available only few system)
Comments
Post a Comment