automated terminal push

This commit is contained in:
Your Name
2025-02-13 15:45:05 -05:00
parent 92577c120f
commit 7a38b01406
2 changed files with 9 additions and 2 deletions

View File

@@ -42,11 +42,11 @@ def buildCronExecuteTime():
current_time = datetime.datetime.now()
new_minute = (current_time.minute + 2) % 60 # The % operator performs the wrap-around
new_minute = (current_time.minute + 2) % 60
print("new_minute / ",new_minute)
new_hour = current_time.hour + (current_time.minute + 5) // 60 # Integer division for hour increment
new_hour = (current_time.hour + 5) % 24
print("new_hour / ",new_hour)