40 lines
1.9 KiB
Plaintext
40 lines
1.9 KiB
Plaintext
# Edit this file to introduce tasks to be run by cron.
|
|||
|
|
#
|
||
|
|
# Each task to run has to be defined through a single line
|
||
|
|
# indicating with different fields when the task will be run
|
||
|
|
# and what command to run for the task
|
||
|
|
#
|
||
|
|
# To define the time you can provide concrete values for
|
||
|
|
# minute (m), hour (h), day of month (dom), month (mon),
|
||
|
|
# and day of week (dow) or use '*' in these fields (for 'any').
|
||
|
|
#
|
||
|
|
# Notice that tasks will be started based on the cron's system
|
||
|
|
# daemon's notion of time and timezones.
|
||
|
|
#
|
||
|
|
# Output of the crontab jobs (including errors) is sent through
|
||
|
|
# email to the user the crontab file belongs to (unless redirected).
|
||
|
|
#
|
||
|
|
# For example, you can run a backup of all your user accounts
|
||
|
|
# at 5 a.m every week with:
|
||
|
|
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
|
||
|
|
#
|
||
|
|
# For more information see the manual pages of crontab(5) and cron(8)
|
||
|
|
#
|
||
|
|
# Example of job definition:
|
||
|
|
# .---------------- minute (0 - 59)
|
||
|
|
# | .------------- hour (0 - 23)
|
||
|
|
# | | .---------- day of month (1 - 31)
|
||
|
|
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
|
||
|
|
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
|
||
|
|
# | | | | |
|
||
|
|
# * * * * * user-name command to be executed
|
||
|
|
|
||
|
|
*/5 * * * * /usr/bin/docker exec -u www-data nextcloud /usr/local/bin/php -f /var/www/html/cron.php
|
||
|
|
|
||
|
|
0 * * * * /home/lucas/scripts/media\ handling/convert_heic.sh
|
||
|
|
10 * * * * /home/lucas/scripts/file\ processing/rename_camera_folder.sh
|
||
|
|
0 * * * * /home/lucas/scripts/file\ processing/rename_memes_folder.sh
|
||
|
|
0 3 * * * docker compose run --rm certbot renew && docker compose exec nginx nginx -s reload
|
||
|
|
*/5 * * * * /home/lucas/scripts/docker_compose/node-exporter-pubip-docker-states.sh
|
||
|
|
0 23 * * * syncNC -c && rsync -avz --info=progress2 --delete --exclude "Camera/" --exclude "Alina Share/" /data/nextcloud/syncuser/pictures/ /data/immich/pictures/
|
||
|
|
0 3 * * 0 /home/lucas/scripts/utils/download_latest_ubuntu.sh
|