Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Infrastructure
(view source)
Revision as of 08:40, 8 September 2016
570 bytes added
,
08:40, 8 September 2016
→Cron jobs
:
more server setup for backups etc.
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
Stephane
Bureaucrats
,
Administrators
1,083
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
📍Where am I?
🍊Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
🧴 Open Beauty Facts wiki
Main page
Deep dive per topic
All topics
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages