Hey all..  After a period of inactivity I am back on my work project..
I'm really close but have some cron questions..  Here's what I'm doing..

I have a linux box running Mdk 6.1..  It has 2 nics.  One has a static
internet ip address.. The other has an address that is in the range of 2
SGI machines and a Solaris machine that are on the tv weatherman's
network at work ( tv station ).  

The idea of this is to FTP .jpg maps to the web site..  I got the mdk
box up and running, and using ncftpget and ncftpput, I can get all the
maps in a command.. Long ncftp command line, made into a script..
Then I chmod a+x'ed em.. So I can "get" all the maps off the SGI Indigo
2 by typing ./ftpget..

In turn send em to the web via ./ftpput..  I'm very happy about my
progress in this.. I'm a new Linux user and was challenged by the boss
to do this.. So all I need to do now is automate this..

Using cron.. From what I'm reading, cron can execute scripts.. right??
Just like the scripts I created..

If I put both ./ftpget then ./ftpput in cron.hourly, it will do this
once an hour,, right???  I have also been reading about being able to
specify an exact time in cron.. ( this is more wanted, due to certain
maps being updated at specific hourly times..)

So also in addition to the above, I would like to add rdate --sp
time.xx.xx to cron.daily then
the systohc stuff..  Both of these need root permission.. Can cron do
this??  I'm a little vague on this..

Both the ftp commands are exec by user..

If someone can help, I would be more than greatful, since I've been
working on this for sometime and have learned
GOBS about linux..  I just find the man cron a little vague about a
number of things..

THanks!
Alan
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to