[Techtalk] Newbie & crontab

Conor Daly conor.daly at cod.utvinternet.com
Tue Nov 16 03:17:23 EST 2004


On Mon, Nov 15, 2004 at 01:03:01PM +0000 or so it is rumoured hereabouts, 
Conor Daly thought:
> 
> In the meantime, to get you started:
> Try creating a script with your command in it like this:
> 
> o echo "#!/bin/bash" > myscript
> o echo $PATH >> myscript
> o vi myscript

ICK!! Got that wrong!  It's more like this:

o echo '#!/bin/bash' > myscript
o echo "PATH="$PATH >> myscript
o vi myscript

Note the use of single quotes rather than double and the "PATH=$PATH"
rather than just $PATH

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  4:25pm  up 15 days, 17 min,  0 users,  load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
 16:14:00  up 16:15,  1 user,  load average: 0.03, 0.01, 0.00


More information about the Techtalk mailing list