Kirrus wrote:
> ----- "Tony Arnold" <[EMAIL PROTECTED]> wrote:
>   
>> Kirrus wrote:
>>
>>     
>>> Can anyone give me any more useful examples of using / help with
>>> using at?
>>> <snip>
>>>
>>> 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.
>>     
>
> Hello
>
> That appears to have done the job, thank you very much!
>
> Regards,
>
> Kirrus
>
>   

Just so you know, the time goes first, then you can enter commands:

$ at 18:00
warning: commands will be executed using /bin/sh
at> run this command
at> then this one
at> <EOT>
job 6 at Wed Aug 22 18:00:00 2007

('<EOT>' is the end of the command list, it's put there when you press 
Ctrl-D, you don't type it)

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/

Reply via email to