cron.d.example 364 B

1234567
  1. # For more information see the manual pages of crontab(5) and cron(8)
  2. # m h dom mon dow user command
  3. PATH=/usr/local/bin:/usr/bin:/bin:/path/to/fcn-toolbox
  4. # Synchronize sympa with Dolibarr, by exporting subscribers (daily)
  5. 2 3 * * * root fcn-dolibarr get-subscribers --product "PRODUCTCODE" | sudo -u sympa fcn-sympa --import="subscribers@example.net"