Kirrus, Kirrus wrote:
> Can anyone give me any more useful examples of using / help with using at? > I'm trying to run this command, but its silently failing, and the man page > really isn't that helpful for a newbie... > > [EMAIL PROTECTED]:~# at scp jt.tar.gz 10.2.0.58:/opt/ltsp/ 1800 > syntax error. Last token seen: s > Garbled time > [EMAIL PROTECTED]:~# at "scp jt.tar.gz 10.2.0.58:/opt/ltsp/" 1800 > syntax error. Last token seen: s > Garbled time > [EMAIL PROTECTED]:~# at "scp jt.tar.gz 10.2.0.58:/opt/ltsp/" 6pm > syntax error. Last token seen: s > Garbled time > [EMAIL PROTECTED]:~# at 6pm "scp jt.tar.gz 10.2.0.58:/opt/ltsp/" > syntax error. Last token seen: s > Garbled time > > Any ideas/suggestions? The man page for the at command says it reads commands from standard input that get executed at the given time. So something like: echo "scp jt.tar.gz 10.2.0.58:/opt/ltsp/" | at 6pm should do the trick. (I've not tested this). Regards, Tony. -- Tony Arnold, IT Security Coordinator, University of Manchester, IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL. T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039 E: [EMAIL PROTECTED], H: http://www.man.ac.uk/Tony.Arnold -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/