Reputation: 4721
I want to schedule some unix scripts such that they run on specific time. I know how to do this using cron job but htere is limitation that i cant use cron jobs.
Is there any way to schedule scripts?
Upvotes: 0
Views: 6243
Reputation: 64563
There are several ways, that you could use to start a script periodically:
Upvotes: 1
Reputation: 5131
You can start a screen
session and use a wrapper shell script which sleep
s for the appropriate time. But this is hacky.
You can detach from the screen session and leave it running when logging out which solves that part of the problem. The rest is nasty shell script code.
Upvotes: 1