<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear all<br>
<br>
We have the problem that our cron jobs run much too often. Several
of our jobs run once per hour even the cronjob configuration says
that the job should only run once per day.<br>
<br>
For example, I have configured a scheduled job with the standard
opencms class to clear the opencms log table once every day. <br>
However, the job runs every hour and not at the specified time.<br>
<br>
The cron job definition is as follows:<br>
<blockquote>Java Class:
org.opencms.scheduler.jobs.CmsRemoveOldDbLogEntriesJob<br>
Cron Expression: 23 9 * * * ?<br>
Reuse Instance: [ ]<br>
Active: [x]<br>
User name: Admin<br>
Project: Offline<br>
Parameter: max-age=30 days<br>
</blockquote>
Based on this definition the job should run one time each day at
9:23. But the logs say that the job runs instead at 8:09, 9:09,
10:09, ...<br>
We have the same type of problem not only with this job but also
with other jobs for which it is a problem if they run too often.
There is no problem in the opencms log for these jobs - the jobs run
and complete normally. <br>
<br>
We are using opencms 8.5 running on Tomcat 7, Java 7u25, Mysql 5.5<br>
<br>
Any insights or ideas would be appreciated.<br>
<br>
Thanks<br>
Christian<br>
<br>
<br>
<br>
<br>
</body>
</html>