Suggested solutions ?

----------------------
From:   [EMAIL PROTECTED] (Cron Daemon)
To:     [EMAIL PROTECTED]
Subj:   Cron <[EMAIL PROTECTED]> $HOME/bin/PendingJobs.pl >> /dev/null

ERROR: OTRS-PendingJobs-10 Perl: 5.8.5 OS: linux Time: Tue Oct 23
08:45:04 2007

Message: Need User or UserID!

Traceback (16703):
   Module: Kernel::System::User::GetUserData (v1.64) Line: 126
   Module: Kernel::System::Ticket::Article::SendAgentNotification
(v1.147) Line: 1785
   Module: /opt/otrs/bin/PendingJobs.pl (v1.27) Line: 178
-----------------------

If I run $HOME/bin/PendingJobs.pl from the command line as the otrs
user, then it works. No errors.


-----

$ cat pending_jobs
# --
# cron/pending_jobs - pending_jobs cron of the OTRS
# Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
# --
# $Id: pending_jobs.dist,v 1.9 2006/10/20 16:46:14 mh Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --

# check every 120 min the pending jobs
45 */2 * * *    $HOME/bin/PendingJobs.pl >> /dev/null


-- 
Thank for your help !

hs

_______________________________________________
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 or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to