ryanfleming23 / honeypot-group-1a

HACS200 Honeypot Project: Group 1A (Weather App Warriors)
0 stars 0 forks source link

recycling script running in crontab #3

Open ryanfleming23 opened 1 month ago

ryanfleming23 commented 1 month ago

Need to first decide how often to run script, currently something in the range of $[30,60]$ seconds but open to other changes, or variable cron based on when the script completes. We don't want an inactive honeypot sitting around for too long. Maybe make honeypot creation thread safe to make running the script constantly not an issue.

arch-hill commented 1 month ago

i think 60 is safe

ryanfleming23 commented 3 weeks ago

If there is a method to recycle every 30 seconds, or after the previous call completes (whichever takes longer), I think that is the best path. Although, I don't think cron is the right method for that.