Passing argument to "at" command in Bash

view story

http://stackoverflow.com – I need to pass an argument from the command line to the "at" command. I want "at" to run a script which requires a few arguments from the command line when it runs. Example: at 10:00 -f myscript.sh $var1 $var2 Unfortunately "at" sees everything on the line as command options to itself, and gives a syntax error. I have also tried echo "myscript.sh $var1 $var2" | at 10:00 Using this second method, the variables seem to not be recognised by the script they are being passed to. Thanks in advance Jamie (HowTos)