I wrote a Node script for work that takes 24 hours to complete (lots of 2 minute timeouts) and I’d like it to just restart at its end and begin again. I suppose I could just write a chron job for it on whatever VM we end up running it on if this isn’t possible.

mae
link
13M

while (true) doSomething();

General Programming Discussion
!programming

    A general programming discussion community.

    Rules:

    1. Be civil.

    Other programming communities:

    • /c/rust
    • /c/python
    • /c/powershell
    • /c/haskell
    • /c/fpcomplete
    • /c/cpp
    • /c/c_programming
    • /c/julia
    • 0 users online
    • 12 users / day
    • 12 users / week
    • 21 users / month
    • 134 users / 6 months
    • 2493 subscribers
    • 669 Posts
    • 871 Comments
    • Modlog