Hello all,
I’ve planned the following job to run every 13th of the month at 10 AM. But It runs every day at 10 AM.
Need a Help.
Hello all,
I’ve planned the following job to run every 13th of the month at 10 AM. But It runs every day at 10 AM.
Need a Help.
Hi @didate
The CRON expression seems correct and is interpreted correctly. I’m curious to know why it’s working everyday instead of the specified time. 0 0 10 13 1-12 MON-SUN
, also wondering if it’s more specific if that’d make any difference but I don’t think so.
What version of DHIS2 are you using? Could you share more info about the OS and the environment you’re running this on? Is it possible that there’s an issue with syncing the time?
Are there any issues or hints in the Catalina.out log when the job runs? Could you check the time of the messages in the log when the job runs?
Thanks!
Hello @Gassim
We are using DHIS 2.37, on Ubuntu 22.04 Server. There is no error in the Catalina.out file
Note that, daily CRON works fine.
When the job with the CRON expression you mentioned above runs, is the Catalina.out message the same timing? I’m just wondering if the time is not syncing properly…
May I ask the patch version of the DHIS2 2.37? Thanks!