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 anzeigen {{velocity}} #if($doc.getObject('XWiki.SchedulerJobClass')) #set($job = $doc.getObject("XWiki.SchedulerJobClass")) **$services.localization.render('xe.scheduler.job.name')** $!doc.display('jobName') **$services.localization.render('xe.scheduler.job.description')** $!doc.display('jobDescription') **$services.localization.render('xe.scheduler.job.expression')** $!doc.display('cron') **$services.localization.render('xe.scheduler.job.script')** #if($xcontext.action=="inline") $!doc.display("script") #elseif($xcontext.action=="view" && "$!job.getProperty('script').value" !="") {{code language="groovy"}} $job.getProperty('script').value {{/code}} #end #if($xcontext.action=="inline") {{info}}$services.localization.render('xe.scheduler.job.scriptexplanation')){{/info}} {{info}}Below some example of valid cron expression, from the [[official quartz scheduler documentation>>http://www.quartz-scheduler.org/documentation||rel=__blank]]: |= Cron expression |= Meaning | **0 15 10 * * ?** | Fire at 10:15am every day | **0 15 10 ? * MON-FRI** | Fire at 10:15am every Monday, Tuesday, Wednesday, Thursday and Friday | ** 0 0/5 14 * * ?** | Fire every 5 minutes starting at 2pm and ending at 2:55pm, every day | ** 0 15 10 ? * 6L** | Fire at 10:15am on the last Friday of every month {{/info}} #elseif($xcontext.action=="view") [[$services.localization.render('xe.scheduler.job.backtolist')>>Scheduler.WebHome]] #end #else {{warning}}$services.localization.render('xe.scheduler.job.object'){{/warning}} #end {{/velocity}}

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