> > > I am trying to automate an update on our prohelp system with our AS/400.
> > > have created a script to do this, it simply grabs a file that the 400
> > > to UNIX via ftp. The problem I am having is this, I want to set this up
> > > run, say, on a weekly basis, so I should use cron, right. (forgive me,
> > > fairly new) When I make the entries into the cron file (and there are
> > > in there) and exit, it does not save my changes. Any ideas what is going
> > > Yes, I am logged in as root.
> > > Thanks,
> > What are you using to edit the cron tab with?
> > Typically
> > crontab -e
> > yes?
> > Are you getting any errors?
> > --
> > http://ftp.opensysmon.com is a shell script archive site with an
> > open source system monitoring and network monitoring software package.
> > Many platforms are supplied already compiled.
> Yes, that is how I am doing it, and no I am not seeing any errors, other
> than when I first open it up I see this
> vi /tmp/crontaba0059S
> %s not owned by you - ignoring
> not owned by you - ignoring
That seems to be the problem.
The crontab -e program is running "vi" by default and/or because
that is what your EDITOR environment variable is set to (also some
systems look at the VISULA environment variable).
vi is having problems because, I think, you have "su"'ed to become
Try logging in as root and see if this fixes it.
Also, if you are doing an "su" besure to do this:
so that you get a true root environment. Without the "-"
you do not get a true (or complete) root environment.
http://ftp.opensysmon.com is a shell script archive site with an
open source system monitoring and network monitoring software package.
Many platforms are supplied already compiled.