generic agent in web interface doesnot run automatically

Moderator: crythias

Locked
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

generic agent in web interface doesnot run automatically

Post by tripti_rai2005 »

I have added a job in generic agent to run every 10minutes 00 hours and all days of the week.When i run the job manually it works.But it doenot work automatically according to the period set.Please help.
Is there any other setting that needs to be enabled.??
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: generic agent in web interface doesnot run automatically

Post by crythias »

probably cron.
/opt/otrs/bin/Cron.sh start otrs

this will concat all of the files in otrs/var/cron that do not have a .dist extension.
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
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: generic agent in web interface doesnot run automatically

Post by tripti_rai2005 »

As we can specify or set the Generic agent job to be run viaWeb
interface, do we still need to set up the cron job to run the
GenericAgent.pl?

I had set up one Generic agent job (using web-interface)todelete
the ticket that I had move it to Junk queue every 10:30 am Manday,
withoutsetting up cron job. It seem to me that the job never get
execute by itself asthe pre-config schedule (I can click Run Now to
execute the job manually).
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: generic agent in web interface doesnot run automatically

Post by crythias »

tripti_rai2005 wrote:do we still need to set up the cron job to run the
GenericAgent.pl?
Why not try it and see if it answers your question?
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
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: generic agent in web interface doesnot run automatically

Post by tripti_rai2005 »

Okay.So i have configured my cron job.
please answer my one question.Is it possible to run the web generic interface every 10 minutes? No right?
It can be scheduled to run at a particular time on a particular day for example at 10:30am every Monday ,but not every 10 minutes.Please correct me if i am wrong?
My expectation was that by selecting 10 minutes and 00 hours and all days of a week, i should be able to run the generic agent every 10 minutes.
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: generic agent in web interface doesnot run automatically

Post by jojo »

you need to select all minutes, all hours and all days to have it run every ten minutes
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
tripti_rai2005
Znuny newbie
Posts: 67
Joined: 14 Mar 2012, 15:08
Znuny Version: OTRS2

Re: generic agent in web interface doesnot run automatically

Post by tripti_rai2005 »

Thanks a lot.Problem solved.
■ TRIPTI RAI // PROJECT ENGINEER, ETIM GTEC
Office: +91 20 66056464 //Mobile: +91 9503019176 // // Whirlpool Corporation // www.WhirlpoolCorp.com
Whirlpool Corporation // www.WhirlpoolCorp.com
kanishk
Znuny newbie
Posts: 9
Joined: 18 Mar 2013, 14:16
Znuny Version: 3.2.3
Company: WeiDan

Re: generic agent in web interface doesnot run automatically

Post by kanishk »

Hi

Just confirming the answer mention

Is it resolved by selecting all min, hours and days? I am facing the same issue where the Generic agent is not running from web interface. It is running fine when you run manual.

kanishk
kanishk
Znuny newbie
Posts: 9
Joined: 18 Mar 2013, 14:16
Znuny Version: 3.2.3
Company: WeiDan

Re: generic agent in web interface doesnot run automatically

Post by kanishk »

Hi

i tried selecting all Min, hours and days and still it is not working.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: generic agent in web interface doesnot run automatically

Post by jojo »

check if your cronjobs are running
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
kanishk
Znuny newbie
Posts: 9
Joined: 18 Mar 2013, 14:16
Znuny Version: 3.2.3
Company: WeiDan

Re: generic agent in web interface doesnot run automatically

Post by kanishk »

Hi jojo

Yes it is running and i can see that from logs.

What i did this morning, added the logic in GenericAgent.pm inside config folder and Agent started working. However it is not running when i remove.

So i imagine the Generic Agent is looking the config folder instead the Database.

Any idea how to point the generic interface to DB instead writing whole logic in GenericAgent.pm.

Thanks
Kanishk
kanishk
Znuny newbie
Posts: 9
Joined: 18 Mar 2013, 14:16
Znuny Version: 3.2.3
Company: WeiDan

Re: generic agent in web interface doesnot run automatically

Post by kanishk »

Hi all

The solutions for V 3.2.3 is that the Crowntab file is empty in fresh installation. Copy the crowntab file from previous version or Add entries for GenericAgent in CronTab file.

It resolved our issue.

thanks
kanishk
Locked