failed scheduling jobs with cron 1 * * * *
Hello,
I have set a customer cron patter to perform an "import" at every 1st minute of every hour
1 * * * *
But after an hour the scheduled job never run.
Checking the Job Scheduler under the Admin tab shows it is currently running.
Please help.
Anson
-
Hello Anson.
This cron pattern should work fine. May I ask you to check the Information Tab of the Inspector (View -> Inspector) for this ImportJob and let me know is mentioned under the Scheduled section?
Here is an example from my lab for the ImporJob scheduled with the crop pattern 1 * * * *. -
Hello Anson.
In my lab, I've scheduled an ImportJob and a Workbook using the crop pattern 1 * * * *. Both artifacts are being successfully triggered last 2 hours.
For further troubleshooting, I would recommend configuring debug logging for job triggering event as described in the KB article Debugging Job Scheduler and Trigger Problems. As soon as you add the mentioned property to conf/log4j-production.properties file and restart Datameer, appropriate messages for every attempt to trigger scheduled job appear in logs/conductor.log file, together with the error, if any.I would also recommend to create a few test artifacts and schedule them with different cron patterns, e.g. every 10-15-20 mins, to better understand the scope of the issue, I'm curious whether this affects any scheduled job or only a certain one(s).
By the way, what Datamer version do you use?
Please sign in to leave a comment.
Comments
5 comments