cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduled jobs system in 1.3.1

simon
Champ in-the-making
Champ in-the-making
Hi again,

The scheduled jobs seems to be updated to some new system in the 1.3(.1) release. Is there any documentation on how I should configure this? It's working fine now but I don't see all the possibilities. A normal (Linux like) crontab systems work with:

* * * * *
- - - - -
| | | | |
| | | | —– day of week (0 - 6) (Sunday=0)
| | | ——- month (1 - 12)
| | ——— day of month (1 - 31)
| ———– hour (0 - 23)
————- min (0 - 59)
The Alfresco one differs from this (55 is not the hour field but this would run every 55 minutes and there is one extra parameter). What does the question mark does?
<property name="cronExpression">
   <value>0 55 * * * ?</value>
</property>
I tried the WIKI but could not find any references for this, thanks!
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

The implementation uses the quartz cron trigger.
See http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html for the full details of the cron expressions available.

Regards

Andy

simon
Champ in-the-making
Champ in-the-making
Thanks Andy, this is what I needed to know.