[Novices] very simple at commands

Bruce Smith bruce at armintl.com
Tue Feb 22 08:45:20 EST 2005


> Every time I want to use the 'at' command, I keep assuming it will let 
> me just type something like
> 
> 	$ at now + 5 minutes echo "Go to your meeting!"

This works:

echo 'echo Go to your meeting' | at now + 5 minutes

(you realize that's going to send you email, right?)

Or if you want to put multiple lines in a shell script:

--------------------------
#!/bin/sh
at now + 1 minute << EOF
echo one
echo two
EOF
--------------------------

 - BS




More information about the Novices mailing list