This script runs script_to_run (first argument) in the background. Every watchdog_file_update_interval seconds (second argument), it checks the last
update time of watchdog_file (third argument). Once the watchdog file is
found to be stale, the background process will be killed. The arguments needed
for script_to_run are passed after the third argument.
created gcr.io/gcp-variant-annotation/vep_91_in_vt bases on these updates.
Add the script
run_script_with_watchdog.sh
:script_to_run
(first argument) in the background. Everywatchdog_file_update_interval
seconds (second argument), it checks the last update time ofwatchdog_file
(third argument). Once the watchdog file is found to be stale, the background process will be killed. The arguments needed forscript_to_run
are passed after the third argument.gcr.io/gcp-variant-annotation/vep_91_in_vt
bases on these updates.