Comments (8)
sorted by:
deleted 8 points ago +8 / -0
mvrak 3 points ago +3 / -0

If you want to keep something running?

There are lots of tools available to keep a process running.

One I used a lot on Ubuntu is supervisord

Runs as a system service and just makes sure your script keeps running.

I found it much easier to use.... I was doing a large amount of incoming heavy data analysis and had to maintain some python web apis for their output.

RightSideFunding [S] 0 points ago +1 / -1

thank you

krzyzowiec 2 points ago +2 / -0

If you don’t like cron, you can always use systemd timers.

RightSideFunding [S] 2 points ago +2 / -0

very cool, thanks

shmuklipoopoo 2 points ago +2 / -0

Dunno, cron seems to work fine for me. Have you tried these?

RightSideFunding [S] 0 points ago +1 / -1

Yes, I'm trying.. Just having some odd issues with paths, and difficulty debugging. I'll figure it out, was just checking for alternatives.

RandArrow 4 points ago +4 / -0

Odd issues with paths => learning cron. You'll get past it.

You can assign paths and other variables at the top of your crontab, look at man 5 crontab . Or, use the env command.

Stuff like logging/debugging/process control/runtime is a script development issue.