DEV Community

Discussion on: What is your top interesting cron job for your daily life? 🤯

Collapse
 
graemeq profile image
Graeme Q

For me, I have one that restarts a node instance. We have to use Oracle and the drivers have a memory leak. This in turn means, on our Dev and UAT machines, they start to hang within 2 hours. It used to be I manually restarted them.

I now just have a cron job that restarts the servers regardless on the hour, every hour. That in itself opens other issues but at least I don't need to be present 24/7.

Oh, and if you're wondering, Oracle Support is terrible.