From 87f1536e9531eef30b86c83a98d7d186788e8f3c Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 12 Feb 2025 15:07:33 -0500 Subject: [PATCH] automated terminal push --- smart-cron-builder.bash | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/smart-cron-builder.bash b/smart-cron-builder.bash index 861561b..c03d995 100755 --- a/smart-cron-builder.bash +++ b/smart-cron-builder.bash @@ -3,3 +3,15 @@ reset clear python3 smart-cron-builder.py + +#### + +cp cronfileX /etc/cron.d/cronfile + +# Give execution rights on the cron job +chmod 0644 /etc/cron.d/cronfile + +# Apply the cron job +crontab -u root /etc/cron.d/cronfile + +crontab -e \ No newline at end of file