crons not working on migrate install

Moderator: crythias

Locked
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

crons not working on migrate install

Post by crythias »

(or new install if you're not paying attention).
If you create an otrs user and don't set the path $HOME to /opt/otrs (or your otrs path), cron jobs may fail that rely on $HOME.
This affects things like fetching email (hey, it works manually from Command Line and manual fetch in the GUI but ...?) Yeah?
su otrs
echo $HOME
/home/otrs
hm... maybe
vipw (or your favorite editor and change the /home/otrs to /opt/otrs)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
waterparties
Znuny newbie
Posts: 1
Joined: 10 Jul 2012, 13:18
Znuny Version: 3.1.7
Real Name: Oscar Lorenzo
Company: DIMGest

Re: crons not working on migrate install

Post by waterparties »

Great! This has helped me a lot. Now the jobs defined in the GenericAgent work :)

Thanks a lot for this info.
OTRS 3.1.7 :: ITSM 3.1.4
Ubuntu Server LTS 12.04
MySQL - Active Directory User & Customer backends
Locked