Overdue Notices and Advance notices not being run by crontab
Dear all, Hope this finds you well. I have configured overdue notices to be run from Tools Overdue Notices triggers. My problem is that the cronjob overdue_notices is not being run automatically. The koha-common file in /etc/cron.daily shows the lines koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c When i check the logs of cron jobs, all the scripts are listed except the above two. I can run the scripts manually and the result is that the emails are queued. How do I resolve this problem that the scripts are run automatically along with all the others With best regards, Naveen Ali ITM-JE (EAKL) Inst Representative for HEC Digital Library Resources. NEDUET, Karachi.
Hi, the problem could be that sending emails is not enabled for your instance. You can check by: sudo koha-list --noemail If your instance is listed, try: sudo koha-email-enable instancename Hope this helps, Katrin On 15.03.23 08:26, Ms. Naveen Ali wrote:
Dear all,
Hope this finds you well. I have configured overdue notices to be run from Tools Overdue Notices triggers.
My problem is that the cronjob overdue_notices is not being run automatically.
The koha-common file in /etc/cron.daily shows the lines
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
When i check the logs of cron jobs, all the scripts are listed except the above two.
I can run the scripts manually and the result is that the emails are queued.
How do I resolve this problem that the scripts are run automatically along with all the others
With best regards,
Naveen Ali
ITM-JE (EAKL) Inst Representative for HEC Digital Library Resources. NEDUET, Karachi.
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Thanks a lot for the reply. It seems to be the case. My notices are working now..:) With best regards, Naveen Ali ITM-JE (EAKL) Inst Representative for HEC Digital Library Resources. NEDUET, Karachi. ----- Original Message ----- From: "Katrin Fischer" <katrin.fischer.83@web.de> To: koha@lists.katipo.co.nz Sent: Thursday, 16 March, 2023 2:08:19 AM Subject: Re: [Koha] Overdue Notices and Advance notices not being run by crontab Hi, the problem could be that sending emails is not enabled for your instance. You can check by: sudo koha-list --noemail If your instance is listed, try: sudo koha-email-enable instancename Hope this helps, Katrin On 15.03.23 08:26, Ms. Naveen Ali wrote:
Dear all,
Hope this finds you well. I have configured overdue notices to be run from Tools Overdue Notices triggers.
My problem is that the cronjob overdue_notices is not being run automatically.
The koha-common file in /etc/cron.daily shows the lines
koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/overdue_notices.pl -t koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/advance_notices.pl -c
When i check the logs of cron jobs, all the scripts are listed except the above two.
I can run the scripts manually and the result is that the emails are queued.
How do I resolve this problem that the scripts are run automatically along with all the others
With best regards,
Naveen Ali
ITM-JE (EAKL) Inst Representative for HEC Digital Library Resources. NEDUET, Karachi.
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Katrin Fischer -
Ms. Naveen Ali