# For more information see the manual pages of crontab(5) and cron(8) # m h dom mon dow user command 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