From e8d25a9d339262fe2af5cdec1bd6eab85a7214f7 Mon Sep 17 00:00:00 2001 From: Mark Potts Date: Wed, 18 May 2022 08:27:46 -0600 Subject: [PATCH] removed cheyenne-specific crontab editing section --- ush/get_crontab_contents.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ush/get_crontab_contents.sh b/ush/get_crontab_contents.sh index 9aae44115..182cf1936 100644 --- a/ush/get_crontab_contents.sh +++ b/ush/get_crontab_contents.sh @@ -64,15 +64,6 @@ function get_crontab_contents() { __crontab_contents__=$( ${__crontab_cmd__} -l ) fi # - # On Cheyenne, the output of the "crontab -l" command contains a 3-line - # header (comments) at the top that is not actually part of the user's - # cron table. This needs to be removed to avoid adding an unnecessary - # copy of this header to the user's cron table. - # - if [ "$MACHINE" = "CHEYENNE" ]; then - __crontab_contents__=$( printf "%s" "${__crontab_contents__}" | tail -n +4 ) - fi - # # Set output variables. # printf -v ${outvarname_crontab_cmd} "%s" "${__crontab_cmd__}"