This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage - include this script before doing serious work in another script. | |
you will need to leave your script using do_exit, not plain old exit - because bash double-uses exit as a way of flagging faults. | |
# No shebang because we are included in another sh file | |
# Files which include this one MUST use bash, since we use the 'source' command below. | |
# @FIXME DGC 16-Aug-2016 | |
# I'm not clear why this script doesn't use a guard variable as per the coding standard. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is designed to work only with recent bash implementations, not busybox/ash/dash etc... | |
# BEWARE - THIS IS SYMLINKED TO FROM THE NETRIX REPO ON DGC'S DESKTOP | |
# IF YOU EDIT IT THERE IT ALSO CHANGES THE MASTER ONE | |
# @FIXME DGC 6-May-2022 | |
# This script has a large issue, which I have failed to notice ( or to fix ) earlier. | |
# It does a very bad job of labelling hourly/daily etc jobs with an 'execution time. | |
# |