|
| 1 | +#SHELL=/usr/bin/bash |
| 2 | +#BASH_ENV="/local/home/lstanalyzer/.bashrc" |
| 3 | +# |
| 4 | +#-Datacheck jobs |
| 5 | +# |
| 6 | +#30 5 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Data_Check_daily_script_v2.sh |
| 7 | +#05 00-07 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_v7.sh |
| 8 | +#05 00-07 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_v7.sh |
| 9 | +#05 00-07 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_v9.sh |
| 10 | +# EDIT Daniel Morcuende 2023-01-30: Running the data check during the night might be causing busy states of the camera during |
| 11 | +# data taking. I modified the cron above to launch only during the day. |
| 12 | +05 08-13 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_v9.sh |
| 13 | +#00 08 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_v7.sh |
| 14 | +#00 09 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_v7.sh |
| 15 | +00 08 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_v9.sh |
| 16 | +#05 12 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_v7.sh |
| 17 | +#05 12 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_no_nightsummary_v7.sh |
| 18 | +05 12 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_no_nightsummary_v9.sh |
| 19 | +#05 12 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_v9.sh |
| 20 | +#00 14,16,18,20,21,22,23 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_v8.sh |
| 21 | +#00 14,16,18,20,21,22,23 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_close_night_v8.sh |
| 22 | +#00 14,16,18,20,21,22,23 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_v10.sh |
| 23 | +# EDIT Daniel Morcuende 2023-01-30: Running the data check during the night might be causing busy states of the camera during |
| 24 | +# data taking. I modified the cron above to launch only during the day up to 18:00 UTC. |
| 25 | +00 14,16,18 * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/Process_Run_incremental_script_v10.sh |
| 26 | +#40 * * * * /usr/bin/bash /fefs/onsite/pipeline/data-check/test_cron.sh |
| 27 | + |
| 28 | + |
| 29 | +SHELL=/usr/bin/bash |
| 30 | +BASH_ENV="/local/home/lstanalyzer/.bashrc" |
| 31 | +CRON_TZ=UTC |
| 32 | +# Update astropy auxiliary data (e.g. IERS) every week |
| 33 | +0 0 * * SUN source /fefs/aswg/lstosa/utils/osa-conda; python /fefs/aswg/data/aux/astropy/get_iers_data.py > /dev/null 2>&1 |
| 34 | +# |
| 35 | +# lstosa jobs |
| 36 | +# |
| 37 | +# [COPY OBS OVERVIEW] Copy observations overview and daily camera checks to lst1 datacheck webserver |
| 38 | +# |
| 39 | +00 09 * * * /usr/bin/bash /fefs/aswg/lstosa/misc/copy_camera_daily_check_to_www.sh >/dev/null 2>&1 |
| 40 | +# |
| 41 | +# [RUN SUMMARY] Produce the run summary file at the end of the observations to make sure it contains all the runs taken |
| 42 | +# |
| 43 | +05 07 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; lstchain_create_run_summary -d $obsdate --overwrite > /dev/null 2>&1 |
| 44 | +# |
| 45 | +# [MERGED RUN SUMMARY] Produce the merged run summary file containing all the runs taken by the LST. |
| 46 | +# This only appends the runs of the given date. |
| 47 | +# |
| 48 | +15 07 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; source /fefs/aswg/lstosa/utils/osa-conda; lstchain_merge_run_summaries -d $obsdate /fefs/aswg/data/real/OSA/Catalog/merged_RunSummary.ecsv > /dev/null 2>&1 |
| 49 | +# |
| 50 | +# [GAIN SELECTION] |
| 51 | +# |
| 52 | +#50 07 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; export obsdate; conda activate /fefs/aswg/software/conda/envs/osa-dev; gain_selection --no-queue-check -c /fefs/aswg/lstosa/cfg/sequencer_v0.10.cfg -d $obsdate -o /fefs/aswg/data/real/R0G -s 7 >> /fefs/aswg/data/real/OSA/GainSel_log/${obsdate}_LST1.log 2>&1 |
| 53 | +# |
| 54 | +# [GAIN SELECTION CHECK] |
| 55 | +# |
| 56 | +#20 08 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; export obsdate; conda activate /fefs/aswg/software/conda/envs/osa-dev; gain_selection --check -c /fefs/aswg/lstosa/cfg/sequencer_v0.10.cfg -d $obsdate -o /fefs/aswg/data/real/R0G -s 7 >> /fefs/aswg/data/real/OSA/GainSel_log/${obsdate}_check_LST1.log 2>&1 |
| 57 | +# |
| 58 | +# [SIMULATED SEQUENCER] Launch sequencer once in the morning simulated. It also produces the run summary file if not found. |
| 59 | +# |
| 60 | +10 08 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer -c /fefs/aswg/lstosa/cfg/sequencer_v0.10.cfg -s -d $obsdate LST1 >> /fefs/aswg/data/real/OSA/Sequencer_log/${obsdate}_LST1.log 2>&1 |
| 61 | +# |
| 62 | +# [SEQUENCER] Launch sequencer once in the morning |
| 63 | +# |
| 64 | +50 07 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer -c /fefs/aswg/lstosa/cfg/sequencer_v0.10.cfg -d $obsdate --no-gainsel --no-dl2 LST1 > /dev/null 2>&1 |
| 65 | +# |
| 66 | +# [WEB SEQUENCER] Make sequencer xhtml table and copy it to the lst1 webserver |
| 67 | +# |
| 68 | +*/15 08-18 * * * obsdate=`date +\%Y\%m\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; sequencer_webmaker -c /fefs/aswg/lstosa/cfg/sequencer_v0.10.cfg; if [ $? = 0 ]; then scp /fefs/aswg/data/real/OSA/SequencerWeb/osa_status_$obsdate.html datacheck:/home/www/html/datacheck/lstosa/sequencer.xhtml; fi > /dev/null 2>&1 |
| 69 | +# |
| 70 | +# [AUTOCLOSER] Launch the closer without forcing it (no -f option). |
| 71 | +# |
| 72 | +0 10-18/2 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; autocloser -c /fefs/aswg/lstosa/cfg/sequencer_v0.10.cfg -d $obsdate --no-gainsel --no-dl2 LST1 >> /fefs/aswg/data/real/OSA/Autocloser_log/${obsdate}_LST1.log 2>&1 |
| 73 | +# |
| 74 | +# [COPY DATACHECK] Copy the available calibration and DL1 datacheck to the LST1 webserver. |
| 75 | +# |
| 76 | +05,20,40 08-18 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; copy_datacheck -c /fefs/aswg/lstosa/cfg/sequencer_v0.10.cfg -d $obsdate LST1 > /dev/null 2>&1 |
| 77 | +# |
| 78 | +# [SOURCE CATALOG] |
| 79 | +# |
| 80 | +00 11-19 * * * obsdate=`date +\%Y-\%m-\%d -d yesterday`; export obsdate; source /fefs/aswg/lstosa/utils/osa-conda; update_source_catalog $obsdate > /dev/null 2>&1 |
| 81 | +# |
| 82 | +# [COPY CUMULATIVE LST-1 OBSERVATION TIME] |
| 83 | +# (added by Daniel Morcuende on 2024-04-05) |
| 84 | +# |
| 85 | +0 11 * * FRI /usr/bin/bash /fefs/aswg/lstosa/misc/update_cumulative_obs_time.sh >/dev/null 2>&1 |
| 86 | + |
| 87 | + |
| 88 | +# Daniel Morcuende (2023-11-08) periodically remove leftover jobs kept in the SLURM as pending after job dependency not satisfied because of failure (Reason in squeue: 'DependencyNeverSatisfied'). |
| 89 | +# It does only look for lstosa jobs launched by sequencer with the prefix "LST1_" and also the merging jobs launched by autocloser like "longterm_dl1_datacheck". |
| 90 | +*/30 * * * * /local/home/lstanalyzer/remove_dependency_never_satisfied_jobs.sh > /dev/null 2>&1 |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | +SHELL=/usr/bin/bash |
| 96 | +BASH_ENV="/local/home/lstanalyzer/.bashrc" |
| 97 | +CRON_TZ=UTC |
| 98 | +# |
| 99 | +# Restart camera processing of calibration runs in realtime in case it was killed for whatever reason |
| 100 | +# |
| 101 | +04 * * * * cd /local/home/lstanalyzer/camera/lst-camera-watchers;./lst1_watcher_restarter |
0 commit comments