Linux/Cron: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „== /etc/cron.d/cronjob == <pre> # Regular cron jobs for nextcloud # # Every 5min # m h dom mon dow user command */5 * *…“)
 
No edit summary
 
Line 6: Line 6:
# m    h      dom    mon    dow    user    command
# 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
*/5    *      *      *      *      root    /bin/bash /srv/docker-config/nextcloud/run_cronjob.sh >> /srv/docker-data/nextcloud/cron.log 2>&1
</pre>
</pre>


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


[[Category:Linux/System]]
[[Category:Linux/System]]
[[Category:Linux]]
[[Category:Linux]]

Latest revision as of 12:26, 4 August 2020

/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 !!!