From 367a5e075bbcc279bda9c1183fa0584a32f62974 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 13 Feb 2025 06:31:06 -0500 Subject: [PATCH] automated terminal push --- cron.bash => recycle/cron.bash | 0 schedule.py => recycle/schedule.py | 0 .../yankee-gnome-consumer.bash | 0 smart-cron-builder.py | 9 +++------ 4 files changed, 3 insertions(+), 6 deletions(-) rename cron.bash => recycle/cron.bash (100%) rename schedule.py => recycle/schedule.py (100%) rename yankee-gnome-consumer.bash => recycle/yankee-gnome-consumer.bash (100%) diff --git a/cron.bash b/recycle/cron.bash similarity index 100% rename from cron.bash rename to recycle/cron.bash diff --git a/schedule.py b/recycle/schedule.py similarity index 100% rename from schedule.py rename to recycle/schedule.py diff --git a/yankee-gnome-consumer.bash b/recycle/yankee-gnome-consumer.bash similarity index 100% rename from yankee-gnome-consumer.bash rename to recycle/yankee-gnome-consumer.bash diff --git a/smart-cron-builder.py b/smart-cron-builder.py index 407db64..ac704bf 100755 --- a/smart-cron-builder.py +++ b/smart-cron-builder.py @@ -120,9 +120,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin sep="\n" f.write("SHELL=/bin/bash") - f.write(sep) - f.write(sep) - f.write("PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin") f.write(sep) f.write(sep) @@ -131,9 +128,9 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin f.write(sep) f.write(sep) - #f.write("* * * * * /tmp/ping2.bash >> /var/log/cron.log 2>&1") - #f.write(sep) - #f.write(sep) + f.write("* * * * * /tmp/ping.bash >> /var/log/cron.log 2>&1") + f.write(sep) + f.write(sep) print(f"Crontab written to '{file_path}' successfully.")