How to run Cron Jobs as otrs user

How do I install and run the cron jobs as the OTRS user? I do not have an the password for the OTRS user nor is there even a shell to login to as OTRS. I changed the postmaster cron to run every 1 minute instead of 10, but the changes have not taken effect. It still checks every 10 minutes. And, if I try to restart the cron service, I get one of the two following messages: When run as regular user: "No cronjobs in /home/tylerh/var/cron found! * Check the $HOME (/etc/passwd) of the OTRS user. It must be the root dir of your OTRS system (e. g. /opt/otrs)." If I try to run it as root, I get the following: "Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER'!" So, I type "Cron.sh restart OTRS" and still get the same message. Can someone please explain what I need to do to manage my cron?

Tyler Hepworth wrote:
How do I install and run the cron jobs as the OTRS user? I do not have an the password for the OTRS user nor is there even a shell to login to as OTRS. I changed the postmaster cron to run every 1 minute instead of 10, but the changes have not taken effect. It still checks every 10 minutes. And, if I try to restart the cron service, I get one of the two following messages:
When run as regular user:
"No cronjobs in /home/tylerh/var/cron found! * Check the $HOME (/etc/passwd) of the OTRS user. It must be the root dir of your OTRS system (e. g. /opt/otrs)."
If I try to run it as root, I get the following:
"Run this script just as OTRS user! Or use 'Cron.sh {start|stop|restart} OTRS_USER'!"
So, I type "Cron.sh restart OTRS" and still get the same message. Can someone please explain what I need to do to manage my cron?
I think you need to edit /opt/otrs/var/cron/fetchmail and then restart otrs. Can you not "su otrs" ?
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
-- Erik Mathis AIU Dunwoody Network Administrator. emathis@aiuniv.edu
participants (2)
-
Erik Mathis
-
Tyler Hepworth