I went through the instructions and for some reason it is still not working. If I do crontab -l after all of this I do not get anything, it does not say no cron jobs but it doesn't display anything?
Thank you, Garabed Yegavian 323.465.6772 x3414 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, October 06, 2011 1:25 PM To: [email protected] Subject: otrs Digest, Vol 37, Issue 9 Send otrs mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.otrs.org/cgi-bin/listinfo/otrs or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of otrs digest..." Today's Topics: 1. Re: Generic Agent (Rory) 2. Re: New line automatically inserted in event based Notifications (Gerald Young) 3. Re: Stats about escalations (Michiel Beijen) 4. ACL Ticket Type-Service (Carlos Andr?s Gallego Arboleda) 5. Re: ACL Ticket Type-Service (Nils Leideck) ---------------------------------------------------------------------- Message: 1 Date: Thu, 6 Oct 2011 13:45:18 +0100 From: Rory <[email protected]> Subject: Re: [otrs] Generic Agent To: "User questions and discussions about OTRS." <[email protected]> Message-ID: <CAGf7qGC88nEQeHnX+-Y8D0wWvB8VG_=dr7+sn8v1wlkwtdk...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi Garabed, We can see now that your Cron jobs are running correctly from this line; Oct 5 08:55:01 support CRON[32664]: (fireline) CMD (date) So the next thing to do is get the OTRS cron jobs included in the crontab. Firstly log in as your otrs user, fireline. List the current items of the crontab and save them to a file (in case you need to keep anything that is currently in the OTRS user's crontab) e.g. crontab -l > /opt/otrs/20111006_cronbackup When you run the otrs Cron.sh script it will overwrite whatever is currently in your crontab for the otrs user. Switch to the OTRS bin directory; cd /opt/otrs/bin The syntax for running the Cron.sh script as root is as follows sudo ./Cron.sh <start|stop|restart> <otrs_username> For your system you would run; sudo ./Cron.sh restart fireline Once the script has run check that the crontab for the otrs user has been filled crontab -l Once done, review your crontab backup file for any entries you might want to restore to you otrs users crontab and add them as necessary. Last thing is to make sure the generic agent crontab entry is enabled. List the contents of your crontab and look for the section about the Generic Agent. Make sure the following line does not have a hash symbol (#) at the start of the line which sould comment it out; */10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null If the line is commented out with a # then open the crontab for editing and remove it. Save the changes and you are done. >From this point on the crontab should be working correctly. If the Cron.sh script still didn't run for some reason let us know. The next thing to check is that your generic agent has run. Check the otrs log file when you expect your Generic Agent to have run to confirm that it worked. Let us know how you get on. Kind regards, Rory Clerkin --------------------------------------------------------------------- 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
