Comments (8)
sorted by:
8
deleted 8 points ago +8 / -0
3
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. http://supervisord.org

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.

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

thank you

2
krzyzowiec 2 points ago +2 / -0

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

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

very cool, thanks

2
shmuklipoopoo 2 points ago +2 / -0

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

https://www.maketecheasier.com/cron-alternatives-linux/

0
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.

4
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.