From 92577c120fce3fc394f331ef1d09b4d7ff1cc8fa Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 13 Feb 2025 08:46:45 -0500 Subject: [PATCH] automated terminal push --- consumer.bash | 2 ++ smart-cron-builder.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/consumer.bash b/consumer.bash index 5347346..7279d7c 100755 --- a/consumer.bash +++ b/consumer.bash @@ -20,4 +20,6 @@ whoami pkill -f "python3 consumer.py" +sleep 4 + python3 consumer.py diff --git a/smart-cron-builder.py b/smart-cron-builder.py index ba1b6a5..8741b32 100755 --- a/smart-cron-builder.py +++ b/smart-cron-builder.py @@ -56,9 +56,9 @@ def buildCronExecuteTime(): def buildCronSituation(): - ##return "* * * * * /yankee-gnome-fire-consumer/consumer.bash >> " + buildLogFileName() + return "* * * * * /yankee-gnome-fire-consumer/consumer.bash >> " + buildLogFileName() - return buildCronExecuteTime() + "/yankee-gnome-fire-consumer/consumer.bash >> " + buildLogFileName() + ##return buildCronExecuteTime() + "/yankee-gnome-fire-consumer/consumer.bash >> " + buildLogFileName() ##return buildCronExecuteTime() +"/yankee-gnome-fire-consumer/consumer.bash >> " + buildLogFileName() + " 2>&1"