Skip to content

Commit

Permalink
simple cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefmih committed Mar 26, 2024
1 parent 08e5be8 commit 90ca41d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ def main():
"""
starts a no-op task that consumes resources
"""
print("consuming cpu")
consume_cpu()
print("consuming memory")
consume_memory()
print("sleeping for 10 seconds")
# print("consuming cpu")
# consume_cpu()
# print("consuming memory")
# consume_memory()
print("sleeping for 70 seconds")
time.sleep(70)


Expand Down

0 comments on commit 90ca41d

Please sign in to comment.