Error when running cronjob on Debian

Hi ,
I'm getting the following error everytime I want to run
otrs_postmaster_pop3:
Subject: Cron
/dev/null X-Cron-Env:
X-Cron-Env: X-Cron-Env: X-Cron-Env: Date: Tue, 23 Aug 2005 10:23:01 +0200 (SAST)
/bin/sh: otrs: command not found As I am not that familiar with cron not sure where to start looking for this. I change my shell to /bin/bash as well but to no avail. Any help/tips would be appreciated. Also it seems installation documentation on Debian systems are non existent? If anyone has howtos/links that would be greatly appreciated. TIA -- Regards , @-----------------------------@ | Danie Theron | | Systems Administrator | | Verpakt Management Services | | email : danie@verpakt.com | | tel : +2711 6020117 | @-----------------------------@ If you dislike change, you're going to dislike being irrelevant even more. Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. "Time is an illusion. Lunchtime double so." (Douglas Adams.) ------------------------------------------------------------------------------------------------------------------------------------------ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------------------------------------------------------------------------------------------

Danie wrote:
Hi ,
I'm getting the following error everytime I want to run otrs_postmaster_pop3:
Subject: Cron
otrs /usr/share/otrs/bin/PostMasterPOP3.pl /dev/null X-Cron-Env:
X-Cron-Env: X-Cron-Env: X-Cron-Env: Date: Tue, 23 Aug 2005 10:23:01 +0200 (SAST) /bin/sh: otrs: command not found
As I am not that familiar with cron not sure where to start looking for this. I change my shell to /bin/bash as well but to no avail. Any help/tips would be appreciated. Also it seems installation documentation on Debian systems are non existent? If anyone has howtos/links that would be greatly appreciated.
TIA
The message says that it read otrs in the field where it expect command. if they are in crontab -l otrs then the right syntax for cron is * * * * * command I suspect here are your cronjobs, but wit <user> field... if they are somewhere in /etc/cron.* the syntax is * * * * * <user> command Try this: Look where is your cron jobs installed and remove <user> field, in your case 'otrs'. BR Anton Todorov
participants (2)
-
Anton Todorov
-
Danie