[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV lynx download script

From: Scott McGee (Personal)
Subject: Re: LYNX-DEV lynx download script
Date: Thu, 27 Mar 1997 00:04:54 -0700

Robert Bonomi <address@hidden> writes:

[quoting me]
>+ I had one of our users ask me today if I had an easy way to download files
>+ off the web overnight. It occured to me that a script that could take a time
>+ and a url as input could register a lynx download command to be executed at
>+ the desired time via cron. I am wondering if anyone has such a script, or
>+ maybe parts of it that can be addapted to this use. (Especially the code
>+ to mess with time and cron!)
>hell, use 'at' for _that_ part of the problem.
>then it becomes utterly _trivial.
>is -this- good enough?
>   #!/bin/sh
>   echo "lynx -dump" $2 ">>lynx.savefile" |at $1 

<feeling stupid!>
Duh! I knew about 'at', but had never used it, so of course, when I have
a need for it, I don't remeber it. Thanks Robert. 

Now, anyone want to help me figure out why it doesn't work? It works as root,
but when I try it from a usr account it doesn't. I get something like:

at -f 'echo hi' now + 1 minutes
at: echo hi: Permission denied 

even though the same works as root, there is an at.deny, I am not in it, there
is no at.allow, and permissions on at.deny are correct. (Sun Solaris 2.4 if 
that helps)


Scott McGee: Salt Lake Community College Webmaster | When in danger,
___________________________________________________| or in doubt,
Email: address@hidden (Scott McGee)         | run in circles,
Web: | scream and shout.
My opinions do not necessarily reflect those of the College. Trust me!
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]