Browse Source

update cron

root 7 years ago
parent
commit
a9011dad0c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      cron.d.example

+ 4 - 0
cron.d.example

@@ -3,6 +3,10 @@
 
 FCNDOLIBARR=/path/to/fcn-toolbox/fcn-dolibarr
 FCNSYMPA=/path/to/fcn-toolbox/fcn-sympa
+FCNBACKUP=/path/to/fcn-toolbox/fcn-backup
 
 # Synchronize sympa with Dolibarr, by exporting subscribers (daily)
 2  3  *  *  *  root  $FCNDOLIBARR get-subscribers --product "PRODUCTCODE" | sudo -u sympa $FCNSYMPA --import="subscribers@example.net"
+
+# Backup (daily)
+0  6  *  *  *  root  $FCNBACKUP