Linux/Cron

From Wiki
< Linux
Revision as of 12:26, 4 August 2020 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/etc/cron.d/cronjob

# Regular cron jobs for nextcloud
#
# Every 5min
# m     h       dom     mon     dow     user    command
*/5     *       *       *       *       root    /bin/bash /srv/docker-config/nextcloud/run_cronjob.sh >> /srv/docker-data/nextcloud/cron.log 2>&1

!!! Put Empty line at the end !!!