From 7f86daf60db4f826e1da28be1a9785e1ce2ef6ef Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 7 Feb 2025 14:38:29 -0500 Subject: [PATCH] automated terminal push --- cron.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.bash b/cron.bash index 0a2ae44..0565223 100755 --- a/cron.bash +++ b/cron.bash @@ -14,7 +14,7 @@ create_cron_job() { cron_line="${minute} ${hour} ${day_of_month} ${month} ${day_of_week} ${command}" # Add the cron job for the specified user. Redirects stderr to stdout. - (crontab -u "yankee -l 2>/dev/null; echo "$cron_line") | crontab -u "$user" - + (crontab -u yankee -l 2>/dev/null; echo "$cron_line") | crontab -u "$user" - echo "Cron job added for user $user:" echo "$cron_line"