From: Elan Ruusamäe Date: Sun, 27 Feb 2005 15:48:13 +0000 (+0000) Subject: - run crons under eventum user X-Git-Tag: auto/ac/eventum-1_5_3-1~76 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=03cdd666a5b85a951cf75a1168b5583f1ba39a8c;p=packages%2Feventum.git - run crons under eventum user Changed files: eventum-mail-download.cron -> 1.3 eventum-mail-queue.cron -> 1.4 eventum-monitor.cron -> 1.4 eventum-reminder.cron -> 1.3 --- diff --git a/eventum-mail-download.cron b/eventum-mail-download.cron index 0494a04..0e8af85 100644 --- a/eventum-mail-download.cron +++ b/eventum-mail-download.cron @@ -11,6 +11,6 @@ MAILTO=root # # Administration >>> Manage Email Accounts -#0 * * * * http cd /usr/share/eventum && /usr/bin/php4 -q download_emails.php username_here mail.domain.com INBOX +#0 * * * * eventum cd /usr/share/eventum && /usr/bin/php4 -q download_emails.php username_here mail.domain.com INBOX # vim:syn=crontab diff --git a/eventum-mail-queue.cron b/eventum-mail-queue.cron index 0957d11..f2fc4db 100644 --- a/eventum-mail-queue.cron +++ b/eventum-mail-queue.cron @@ -2,7 +2,7 @@ # bounce messages back to root MAILTO=root -* * * * * http cd /usr/share/eventum && /usr/bin/php4 -q process_mail_queue.php +* * * * * eventum cd /usr/share/eventum && /usr/bin/php4 -q process_mail_queue.php # 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, diff --git a/eventum-monitor.cron b/eventum-monitor.cron index 267fb57..64628e6 100644 --- a/eventum-monitor.cron +++ b/eventum-monitor.cron @@ -2,6 +2,6 @@ # bounce messages back to root MAILTO=root -*/10 * * * * http cd /usr/share/eventum && /usr/bin/php4 -q monitor.php +*/10 * * * * eventum cd /usr/share/eventum && /usr/bin/php4 -q monitor.php # vim:syn=crontab diff --git a/eventum-reminder.cron b/eventum-reminder.cron index daae789..dccee22 100644 --- a/eventum-reminder.cron +++ b/eventum-reminder.cron @@ -2,7 +2,7 @@ # bounce messages back to root MAILTO=root -*/10 * * * * http cd /usr/share/eventum && /usr/bin/php4 -q check_reminders.php +*/10 * * * * eventum cd /usr/share/eventum && /usr/bin/php4 -q check_reminders.php # 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