]> git.pld-linux.org Git - packages/eventum.git/commitdiff
Use bin/console.php in cron scripts
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Mar 2021 22:15:12 +0000 (01:15 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 28 Mar 2021 22:15:14 +0000 (01:15 +0300)
The standalone scripts are deprecated

eventum-mail-download.cron
eventum-mail-queue.cron
eventum-monitor.cron
eventum-reminder.cron

index fcf2e7eea054b7dd3ac501ee84983005f5d76be0..8985383a1ef1706ef82baacbb687c5bbc22ef1b4 100644 (file)
@@ -11,4 +11,4 @@ MAILTO=root
 #
 # Administration >>> Manage Email Accounts
 
-#0 * * * * http exec /usr/share/eventum/bin/download_emails.php username_here mail.domain.com INBOX
+#0 * * * * http exec /usr/share/eventum/bin/console.php eventum:mail:download username_here mail.domain.com INBOX
index b164f8f2542704164c99f3973b9437233ff04dbd..dfc79769a64c3a1c5fcddaf00a7e6397acc52bff 100644 (file)
@@ -2,7 +2,7 @@
 # bounce messages back to root
 MAILTO=root
 
-* * * * * http exec /usr/share/eventum/bin/process_mail_queue.php
+* * * * * http exec /usr/share/eventum/bin/console.php eventum:mail-queue:process
 
 # The above line will run the mail queue script every minute. To setup
 # the SMTP server that Eventum should use to send these queued emails,
index e84da5f7cb13ac7d3b0dab8e122777e3f2d6d778..0336e40e149afff2aff9f4a4984a5479af104d87 100644 (file)
@@ -2,4 +2,4 @@
 # report status to root
 MAILTO=root
 
-*/10 * * * * http exec /usr/share/eventum/bin/monitor.php -q
+*/10 * * * * http exec /usr/share/eventum/bin/console.php eventum:system:monitor -q
index c0ade5a8d4ccb046f6968be751ca1bd0349632db..ac0882bdc8005d7b8c0fbf9da4da33d6040d78a6 100644 (file)
@@ -2,7 +2,7 @@
 # bounce messages back to root
 MAILTO=root
 
-*/10 * * * * http exec /usr/share/eventum/bin/check_reminders.php
+*/10 * * * * http exec /usr/share/eventum/bin/console.php eventum:reminder:check
 
 # It is recommended that you run the reminder cron job every 10 minutes,
 # so it won't flood you with alerts too often, but it would still be
This page took 0.045312 seconds and 4 git commands to generate.