GW - Scheduler GW - Scheduler 0 gw_sched_def Scheduler Definition GwClass usata per poter gestire definizioni di schedulazioni. I record inseriti in questa gwClass vengono valutati dal bean Spring GwScheduler durante la sua inizializzazione, che si preoccupa di schedulare l'esecuzione dello script groovy. Il trigger correlato alla gwClass si preoccupa invece di modificare al volo i parametri della schedulazione: attivo/disattivo, cron expression, start time, delay, period. Questo in caso di update, mentre in caso di delete la schedulazione verrà annullata In tutti i casi se una groovy è gia partito la sua esecuzione verrà comunque terminata anche in caso di update/delete della definizione della schedulazione GSC IN USE STANDARD 1 2019-04-19 08:05:34.628 UTC 2019-04-19 08:05:34.628 UTC gw_sched_def 0 sched_def_id sched_def_name 1 0 gw_sched_def sched_def_id default com.geowebframework.webclient.scheduler.GwSchedDefTrigger standardListSelectedAllAttributeExportToExcel(queryParameter, grid) exl_export_all_attributes Esporta tutti gli attributi in XLS GW 1 2019-04-19 08:05:34.632 UTC 2019-04-19 08:05:34.632 UTC Esporta in XLS 1 main sched_def_name Schedulation Definition Name sched_def_name STRING 1 1 false true true 0 250 18 255 true false true true true false script_name The .groovy file that will be executed (comprensive of .groovy extention, with the eventual relative path starting form 'WEB/groovy' folder existing in static contents script_name STRING 2 false false true 0 250 18 255 true false true true true false enabled Toggle the script execution enabled INTEGER 3 2 false true true 6 250 checked true false true true true false false 1/0 Yes/No cron Cron expression must consist of 6 fields: seconds, minutes, hours, daysOfMonth, months, daysOfWeek. It has priority on all other values (when provided all other parameters are simply ignored) cron STRING 4 4 false true true 1 250 18 140 255 false false false false false true true true false 6 digit cron expressions Cron expression must consist of 6 fields: seconds, minutes, hours, daysOfMonth, months, daysOfWeek Cron expression must consist of 6 fields: seconds, minutes, hours, daysOfMonth, months, daysOfWeek A valid 6 digit cron expressions is required true false false false human_readable_cron Human Readable Cron Expression human_readable_cron STRING 3 false true false 16 250 40 255 false true true true true false 0 0 0 0 0 0 0 5 50 0 250 200 start_time When available it's used to give to execution a start time, maybe combined with period or delay values. if absent execution will start as soon as possible start_time DATE 5 5 false true true 5 250 120 false false true true true false dd-MM-yyyy HH:mm:ss true delay Delay after the last execution end (ms) delay INTEGER 7 7 false true true 25 250 18 100 false false true true true false NUMBER #. 0.0 1.7976931348623157E308 EUR period Period between two consecutive executions start (ms). Has priority over delay period INTEGER 6 6 false true true 25 250 18 100 false false true true true false NUMBER #. 0.0 1.7976931348623157E308 EUR parameters_json This is the JSON string representation of the java.util.Map that will be available as incoming parameter inside the .groovy file, under name 'parameters' parameters_json STRING false false false 16 250 40 255 false false false false false true true true false 0 0 0 0 0 0 0 5 50 0 250 200 sched_def_id Schedulation Definition ID sched_def_id INTEGER false false 25 250 18 false false true true true false NUMBER #. 0.0 1.7976931348623157E308 EUR default false 4.4.0