-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtask_schedule_validate.cfg
27 lines (21 loc) · 1.25 KB
/
task_schedule_validate.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Configuration file for task_schedule.pl
subject Kadi commands state validation
timeout 3000 # Default tool timeout
heartbeat_timeout 10 # Maximum age of heartbeat file (seconds)
iterations 1 # Run once then shut down task_schedule
print_error 1 # Print full log of errors
disable_alerts 0 # Don't disable alerts since this jobs runs just once/day
loud 0 # Run loudly or quietly (production mode)
# Data files and directories. The *_dir vars can have $ENV{} vars which
# get interpolated. (Note lack of task name after TST_DATA because this is just for test).
data_dir $ENV{SKA}/data/kadi # Data file directory
log_dir $ENV{SKA}/data/kadi/logs # Log file directory
heartbeat task_sched_heartbeat_validate
# Email addresses that receive an alert if there was a severe error in
# running jobs (i.e. couldn't start jobs or couldn't open log file).
# Processing errors *within* the jobs are caught with watch_cron_logs
alert [email protected]
<task kadi_validate>
cron * * * * *
exec kadi_validate_states --out-dir=$ENV{SKA}/www/ASPECT/validate_states --email aca\@cfa.harvard.edu
</task>