From fe0cf29adbd3bff8aaaba7eb61cc11cfc337e197 Mon Sep 17 00:00:00 2001 From: xavye Date: Sun, 11 Jan 2026 12:52:54 +0000 Subject: [PATCH] Ajouter crontab --- crontab | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 crontab diff --git a/crontab b/crontab new file mode 100644 index 0000000..3815601 --- /dev/null +++ b/crontab @@ -0,0 +1,21 @@ +## crontab -e + +# 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) +# +# m h dom mon dow command +# 30 23 * * * /usr/bin/sudo /user/bin/shutdown -h now +30 23 * * * /root/check_eth.sh >/dev/null 2>&1