GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


       systemd.cron - systemd cron units

SYNOPSIS,   cron-boot.timer,   cron-hourly.timer,  cron-daily.timer,
       cron-weekly.timer,    cron-monthly.timer,,    cron-,,,     cron-,cron-boot.service,      cron-hourly.service,       cron-
       daily.service, cron-weekly.service, cron-monthly.service


       These  units  provide  minimal  cron  daemon  functionality  by running
       scripts in cron directories.


              Directory for scripts to be executed on boot.

              Directory for scripts to be executed every hour.

              Directory for scripts to be executed every day.

              Directory for scripts to be executed every week.

              Directory for scripts to be executed every month.

              The target unit which starts the others. This should be  enabled
              and started to use cron functionality.

              The timer units which pull the units at the
              appropriate time. Started and stopped by the  unit.
              These units cannot be controlled manually.
              The  targets  invoke all service units wanted by them, including

              The service units which run scripts  in  the  cron  directories.
              Started  and  stopped  by  the units. These
              units cannot be controlled manually. You can  use  journalctl(1)
              to view the output of scripts run from these units.


       These  units are not a drop-in replacement for a cron daemon. They only
       provide limited cron capabilites. For example user-defined crontabs are
       not  (yet) supported.  Do not use with a cron daemon, otherwise scripts
       may be executed multiple times.


       Start cron units
              # systemctl start

       Start cron units on boot
              # systemctl enable

       View script output
              # journalctl -u cron-boot
              # journalctl -u cron-hourly
              # journalctl -u cron-daily
              # journalctl -u cron-weekly
              # journalctl -u cron-monthly

       Example service file executed every hour
              Description=Update the man db

              ExecStart=/usr/bin/mandb --quiet



       1. The exact times scripts are executed is determined by the values  of
          the  special  calendar  events  hourly,  daily,  weekly, and monthly
          defined by systemd.time(7).

       2. run-parts(8) is used to run scripts. Scripts must be  executable  by
          root to run.


       systemd(1),   systemd.unit(5),  systemd.service(5),,
       systemd.timer(5), systemd.time(7), run-parts(8)

  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to
Page load time: 0.111 seconds. Last modified: November 04 2018 12:49:43.