If it doesn't get killed by at, it removes the kill job from the queue.#!/bin/bash JOB_ID=$(echo kill $$ | at now + 3min | awk '/^job/ {print $2}') cd /foo/bar/ ./baz atrm $JOB_ID
Makeshifts last the longest.
In reply to Re^3: Until...
by Aristotle
in thread Until...
by RMGir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |