Hi Dennis,

It is supposed that the system runs the cron jobs from the OTRS  var/cron/ 
directory, In OTRS 5 most of this cron jobs are now part of the Daemon. So the 
main idea in the update step 13 is that you check the cron jobs that your 
system is running and for OTRS use one the ones provided in the OTRS var/cron 
directory.

So please if you have any other OTRS cron running on your system apart of the 
ones specified in the OTRS var/cron directory please disable them or remove 
them.

---
Step 13: Update and activate cron jobs
There are two default OTRS cron files in /opt/otrs/var/cron/*.dist, and their 
purpose is to make sure that the OTRS Daemon is running. They need to be 
activated by copying them without the ".dist" filename extension.
shell> cd /opt/otrs/var/cron
shell> for foo in *.dist; do cp $foo `basename $foo .dist`; done

To schedule these cron jobs on your system, you can use the script Cron.sh with 
the otrs user.
shell> /opt/otrs/bin/Cron.sh start

Please note that if you had any custom cron jobs, you should consider moving 
them to SysConfig (Daemon -> Daemon::SchedulerCronTaskManager::Task) to have 
them executed by the OTRS daemon as well. You might also need to adapt your 
custom scripts, because now most OTRS commands are managed 
bybin/otrs.Console.pl instead of single scripts.

((enjoy))

Carlos Rodríguez




> On Aug 31, 2016, at 9:35 AM, Ritchie, Dennis <[email protected]> 
> wrote:
> 
> I Upgraded my OTRS from 4.0.11 to the 5.0.10.
> After the upgrade (which seemed to go through with no errors), I was able to 
> log in and fetch emails etc.
> 
> However I started getting errors via email such as:
> 
> Subject:  Cron <otrs@ticket01> $HOME/bin/otrs.Scheduler.pl -w 1 >> /dev/null
> Body:  /bin/sh: /opt/otrs/bin/otrs.Scheduler.pl: No such file or directory
> 
> They seemed to be coming from the Cron Daemon on my install so I looked at 
> the crontab and found that the 3 different email I was getting were all being 
> called from the Crontab.
> 
> I have commented out the 3 that I was getting emails from (Scheduler, 
> GenericAgent and PostmasterMailbox)
> 
> I reread the upgrading web page:
> https://otrs.github.io/doc/manual/admin/5.0/en/html/upgrading.html 
> <https://otrs.github.io/doc/manual/admin/5.0/en/html/upgrading.html>
> 
> It doesn’t show anywhere that I am supposed to clear or comment out the 
> system cron jobs.
> 
> Am I correct in that I am supposed to clear all cron jobs from the System 
> Crontab?
> 
> Thank You
> 
> Dennis
> ---------------------------------------------------------------------
> OTRS mailing list: otrs - Webpage: http://otrs.org/ <http://otrs.org/>
> Archive: http://lists.otrs.org/pipermail/otrs 
> <http://lists.otrs.org/pipermail/otrs>
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs 
> <http://lists.otrs.org/mailman/listinfo/otrs>

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

Reply via email to