Allgemeine Aktionen:
Anmelden
Registrieren
Start ▼: Wiki Verzeichnis
»
Bereich: XWiki
»
Seite: SchedulerJobSheet
default
Aktionen:
Exportieren ▼: Als PDF exportieren Als RTF exportieren Als HTML exportieren
Weitere Aktionen ▼: Druckvorschau Zeige den Quellcode
Willkommen bei bytebang » XWiki Bereich » Data types » XWiki Scheduler Job Class » Scheduler Job Sheet

# Wiki-Quellcode von Scheduler Job Sheet

Zuletzt geändert von Administrator am 2014/06/29 19:28
Anhänge (0) · Information
Zeilennummern verstecken 1: {{velocity}} 2: #if($doc.getObject('XWiki.SchedulerJobClass')) 3: #set($job = $doc.getObject("XWiki.SchedulerJobClass")) 4: **$services.localization.render('xe.scheduler.job.name')** 5: 6: $!doc.display('jobName') 7: 8: **$services.localization.render('xe.scheduler.job.description')** 9: 10: $!doc.display('jobDescription') 11: 12: **$services.localization.render('xe.scheduler.job.expression')** 13: 14: $!doc.display('cron') 15: 16: **$services.localization.render('xe.scheduler.job.script')** 17: 18: #if($xcontext.action=="inline") 19: $!doc.display("script") 20: #elseif($xcontext.action=="view" && "$!job.getProperty('script').value" !="") 21: {{code language="groovy"}} 22: $job.getProperty('script').value 23: {{/code}} 24: #end 25: 26: #if($xcontext.action=="inline") 27: {{info}}$services.localization.render('xe.scheduler.job.scriptexplanation')){{/info}} 28: 29: {{info}}Below some example of valid cron expression, from the [[official quartz scheduler documentation>>http://www.quartz-scheduler.org/documentation||rel=__blank]]: 30: 31: |= Cron expression |= Meaning 32: | **0 15 10 * * ?** | Fire at 10:15am every day 33: | **0 15 10 ? * MON-FRI** | Fire at 10:15am every Monday, Tuesday, Wednesday, Thursday and Friday 34: | ** 0 0/5 14 * * ?** | Fire every 5 minutes starting at 2pm and ending at 2:55pm, every day 35: | ** 0 15 10 ? * 6L** | Fire at 10:15am on the last Friday of every month 36: {{/info}} 37: 38: #elseif($xcontext.action=="view") 39: [[$services.localization.render('xe.scheduler.job.backtolist')>>Scheduler.WebHome]] 40: #end 41: #else 42: {{warning}}$services.localization.render('xe.scheduler.job.object'){{/warning}} 43: #end 44: {{/velocity}}

(c) 2026, by bytebang e.U. - Impressum - Datenschutz / Nutzungsbedingungen
-