Re: Question after Upgrade to 5.0.10
Carlos Rodríguez <[email protected]>
| Newsgroups | gmane.comp.otrs.user |
|---|---|
| Message-ID | <[email protected]> |
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> --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
signature.asc
(application/pgp-signature, 495 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJXxvDIAAoJEAAgDEqQhBeVI0MIAKYMPFQ/Pyer9bZ2voSZguZs oFEARK1lBN5REnzUwZhYi5phD/Oa5GNsuoQindWbwepOCIek+esTQv5mBDF9g7oT e7vuSZVg0950mT73m85tuUL8FJjwZ2bUpRJxT1XRRdqMtuuGTDsfcRrrk1DtkbNT IKfsS54DrH7TJBGP1RiwH3N50qhCVKZeMvjX1/7T31vB5/PhDR7qW3d+rg3C+gBl sng6B+QfKMWdoHX2ACLmlPso+cAvSxWE8maH5bsAgsPgqnEJxK9yfLO/Dyg63lP+ xUHOOAb1pJmbjKthsbpQ0CCGQ7lC2s830DExLlalPckNsvUEm8FtYOsu32hJ56c= =cOnL -----END PGP SIGNATURE-----