I created several Generic Agent Jobs to add SLA's to certain tickets. If I run the job everything goes well but they won't run automatically.
I put minutes to '10'
hours to '00'
and for days I selected all days.
--> this should make the job run every 10 minutes right?
I am running OTRS 3.2 on Windows Server 2008 R2. I think something must be wrong with my Cron jobs.
I checked the server and the CronW service is running. I don't know what else I could check.
I found out that I have to make sure "generic_agent-database.dist" is correct but I don't know what should be in htere.
I mostly find information on what to do in Linux environments.
Generic Agent Jobs not running
Moderator: crythias
Generic Agent Jobs not running
OTRS 3.2 - Windows Server 2008R2 - mysql
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Generic Agent Jobs not running
10 means 10 minutes after the hour
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
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
Re: Generic Agent Jobs not running
Ok, well it should be ok if they only run once every hour.
The problem is that they don't run at all...
The problem is that they don't run at all...
OTRS 3.2 - Windows Server 2008R2 - mysql
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Generic Agent Jobs not running
Is the GenericAgent added in the crontab?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Generic Agent Jobs not running
yes, I added this line to crontab.txt
*/15 6-20 * * 1,2,3,4,5 D:\Program Files (x86)\OTRS\StrawberryPerl\perl\bin\perl.exe D:\Program Files (x86)\OTRS\OTRS\bin\otrs.GenericAgent.pl
Do I need to move crontab.txt to one of the folders in there? (cron.daily, cron.monthly, cron.weekly)
*/15 6-20 * * 1,2,3,4,5 D:\Program Files (x86)\OTRS\StrawberryPerl\perl\bin\perl.exe D:\Program Files (x86)\OTRS\OTRS\bin\otrs.GenericAgent.pl
Do I need to move crontab.txt to one of the folders in there? (cron.daily, cron.monthly, cron.weekly)
OTRS 3.2 - Windows Server 2008R2 - mysql
Re: Generic Agent Jobs not running
Hi,
maybe (!) it is your folder with spaces. I had issues with that. Try C:\OTRS and not C:\Program Files
Flo
maybe (!) it is your folder with spaces. I had issues with that. Try C:\OTRS and not C:\Program Files
Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Generic Agent Jobs not running
Good hint... It should be ok if you put the paths in "
"D:\Program Files (x86)\OTRS\StrawberryPerl\perl\bin\perl.exe" "D:\Program Files (x86)\OTRS\OTRS\bin\otrs.GenericAgent.pl"
"D:\Program Files (x86)\OTRS\StrawberryPerl\perl\bin\perl.exe" "D:\Program Files (x86)\OTRS\OTRS\bin\otrs.GenericAgent.pl"
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de