12345678 |
- # 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
- # Synchronize sympa with Dolibarr, by exporting subscribers (daily)
- 2 3 * * * root $FCNDOLIBARR get-subscribers --product "PRODUCTCODE" | sudo -u sympa $FCNSYMPA --import="subscribers@example.net"
|