yannmoelle/auto-update.sh

4 lines
122 B
Bash
Raw Normal View History

2023-04-14 18:36:49 +02:00
crontab -l > mycron
echo "0 0 * * * sh /var/www/html/mylinks/update.sh >/dev/null 2>&1" >> mycron
crontab mycron
rm mycron