passing variable to at command

2008-09-18 Thread Mark Busby
Is there a way to pass variables to a shell script from the command line with the at command? What I've been trying is something like : at -f '/path/script 20 test' 8:10 091808 : Where 20 and test set variables in the script. I've tried googling the at command for help but there's a lot of at

Re: passing variable to at command

2008-09-18 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Busby wrote: Is there a way to pass variables to a shell script from the command line with the at command? What I've been trying is something like : at -f '/path/script 20 test' 8:10 091808 : Where 20 and test set variables in the script.

Re: passing variable to at command

2008-09-18 Thread Michaƫl Le Barbier
Mark Busby wrote: Is there a way to pass variables to a shell script from the command line with the at command? What I've been trying is something like : at -f '/path/script 20 test' 8:10 091808 : Where 20 and test set variables in the script. You will have to write your commands in a file,