- batch (+ atrun), at
- at allows you to specify when to run a job:
[root@gerd2 var]# at now +30 minutes -f /root/find_idiots3.bash
warning: commands will be executed using (in order) a) $SHELL b) login shell c) /bin/sh
job 2 at 2002-04-22 15:40
batch, however, says 'run this job when you are idle':
[root@gerd2 var]# batch -f /root/find_idiots3.bash
warning: commands will be executed using (in order) a) $SHELL b) login shell c) /bin/sh
job 3 at 2002-04-22 15:11
when will it run? When the load average drops to what you set with atrun:
atrun -l 2
above means that the process will run when load average hits 2 or less
/etc/at.allow, /etc/at.deny
NEXT
PREVIOUS
Master Index