You might also check the logs. I can't recall which one it is on Tru64, butQuote:> Why do you think the job didn't run?
> Post the crontab entry and the script. Give details of the version of
> Tru64 and the patch level.
Mike
crontab -e idxxxxxx
This changed the control file,
when I verified with crontab -l the contents was correctly shown,
but the cron daemon did not execute the new contents.
We are running Unix 4.0D
To solve the problem, I needed to follow the following commands:
su - idxxxxxx
crontab -l |crontab
This seems to work ... since then I prefer the following
su - idxxxxxx
crontab -e
which seems to work also ...
I always use crontab -e and this reads in the new entries when you save and
quit.
The other option is to stop and start cron when the new entries have been
added
Cheers John
Quote:> Isn't there a way to refresh cron to pick up changes made using crontab
> -e? I made the changes but the specified jobs did not run. I'm thinking
> I need to refresh cron to pick up the changes. Is this true? Thanks.
handy if you have used vi or another editor to edit the cron file.
Note must be done as the user fo that cron file or use an su -c
Jon
Quote:> Isn't there a way to refresh cron to pick up changes made using crontab
> -e? I made the changes but the specified jobs did not run. I'm thinking
> I need to refresh cron to pick up the changes. Is this true? Thanks.
Am I missing something? Not saying I'm not.
Chuck H.
In my case it was just me getting caught not remembering that cron
runs jobs under a very minimal environment, and under sh. I was trying
to work out why cron wasn't picking up the crontab changes, but that
wasn't the real problem.
A script which ran fine from the command prompt, would seemingly not
run from cron. What I had to do was establish the same environment
variables within the script before cron would actually run the job.
Don't know if this applies in your case.
Cheers,
Andrew
1. cron : How to refresh / restart
Friends,
1. Under AIX 4.1.5 how to restart or refresh cron daemon without
rebooting system? I even could not understood role of telinit q
2. cron daemon NEVER exits (I tried kil -9 PID , taking rebirth ) I am
just keen to know to stop cron daemon (like stopsrc -s qdaemon).
Thank,
VK
--
The reason many people fail to recognise opportunity is because it comes
disguised as Hard Work. Cleverness carries the day, But Wisdom endureth.
2. uugetty and SD & RD lights stay on
4. PnP Modem not working with isapnp
5. cron.deny and cron.allow files for CRON management
6. top: trace a certain process
8. Problem w/ DVI GeForce2 Ultra and Digital LCD Viewsonic VG181
9. cron, perl, and signals -- cron spins out of control
10. Why doesn't cron run the lp cron file?
11. Help! Cron and Samba / Cron and missing directories?
12. Cron <root@host> run-parts /etc/cron.daily
13. cron listed as /USR/BIN/CRON ???