i've configured through web interface a generic agent task to run every 1 minute.
it tuns fine when i execute manually, but does not run automatically.
i edited the files in /var/cron/
Pending_jobs :
*/1 * * * * $HOME/bin/PendingJobs.pl >> /dev/null
and verified the cron task on my server and they are the same as the cronjobs on otrsgeneric_agent-database :
*/1 * * * * $HOME/bin/GenericAgent.pl -c db >> /dev/null
i runed
./Cron.sh start otrs
but nothing runs and in see this error on log file :
Mon Dec 5 18:41:07 2011 error OTRS-GenericAgent-10 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Mon Dec 5 18:41:07 2011 error OTRS-PMAccount-10 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Mon Dec 5 18:41:07 2011 error OTRS-PendingJobs-10 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
is there any solution?
thank you
Manikam