Line 608:
Line 608:
==== Cron jobs ====
==== Cron jobs ====
+
+
User root:
+
+
* # m h dom mon dow command
+
* 0 10 * * * /home/scripts/lowdiskspace.pl
+
* 0 15 * * * /home/scripts/mdstat.pl
+
* 0 2 * * * /home/scripts/backup.sh
+
* */45 * * * * wget -q -O /home/off/html/cestemballepresdechezvous.html http://fr.openfoodfacts.org/cgi/madenearyou.pl
+
* */50 * * * * wget -q -O /home/off/html/madenearme-uk.html http://uk.openfoodfacts.org/cgi/madenearme.pl
+
* */55 * * * * wget -q -O /home/off/html/madenearme.html http://world.openfoodfacts.org/cgi/madenearme.pl
+
+
+
Need a ftp client for the OVH FTP backup space (100G)
+
* apt-get install ftp
User obf:
User obf:
* 35 * * * * /home/obf/scripts/gen_feeds.sh > /dev/null
* 35 * * * * /home/obf/scripts/gen_feeds.sh > /dev/null
* 15 4 * * * /home/obf/scripts/gen_feeds_daily.sh > /dev/null
* 15 4 * * * /home/obf/scripts/gen_feeds_daily.sh > /dev/null