diff --git a/smart-cron-builder (copy 1).py b/recycle/smart-cron-builder (copy 1).py similarity index 100% rename from smart-cron-builder (copy 1).py rename to recycle/smart-cron-builder (copy 1).py diff --git a/smart-cron-builder.py b/smart-cron-builder.py index be64f9b..c38e957 100755 --- a/smart-cron-builder.py +++ b/smart-cron-builder.py @@ -56,11 +56,11 @@ 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" + ##return buildCronExecuteTime() +" /yankee-gnome-fire-consumer/consumer.bash >> " + buildLogFileName() + " 2>&1" ##return buildCronExecuteTime() +" python3 /yankee-gnome-fire-consumer/consumer.py >> " + buildLogFileName() + " 2>&1"