Tintin
asked on
Changing times of 'at' jobs
I have a requirement to sometimes change the times of scheduled 'at' jobs.
I notice the date/time the job is due to run is not stored in /var/spool/cron/atjobs/xxx and
I can't seem to find where this information is stored/derived. I've run a truss on 'at -l', but that made me
none the wiser.
Is it even possible?
My other choices in are to:
1. Delete and resubmit the job (This can be very messy because of the application generating the jobs)
2. Use a different batch scheduling tool.
I don't want to go down the other paths until I've totally ruled out manipulating the at times directly.
I notice the date/time the job is due to run is not stored in /var/spool/cron/atjobs/xxx
I can't seem to find where this information is stored/derived. I've run a truss on 'at -l', but that made me
none the wiser.
Is it even possible?
My other choices in are to:
1. Delete and resubmit the job (This can be very messy because of the application generating the jobs)
2. Use a different batch scheduling tool.
I don't want to go down the other paths until I've totally ruled out manipulating the at times directly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Otetelisanu.
I don't know why I didn't think of that. I kept looking at the id numbers thinking they were simple sequence numbers.
Makes good sense now.
I don't know why I didn't think of that. I kept looking at the id numbers thinking they were simple sequence numbers.
Makes good sense now.
restart it.
Unlike a cron job which is running at regular based, at job is a one off job start at the user
predefinded time.