I have managed to create a few scripts which are started from crontab.
However I would like a verification that they actually have been executed.
How do I include in my bash script code to append a line like "MyScript was
run at <current date / time>" to the text file 'cronjobs.log' (and that
cronjobs.log is created if it doesn't exist)...
Sorry if this is too much to ask, but I learn a lot from examples
Re: Create log file from script + midnight commander ... I have managed to create a few scripts which are started from crontab.... However I would like a verification that they actually have been executed. ... Another newbie question: How do I install midnight commander i FreeBSD? ... (comp.unix.bsd.freebsd.misc)
Re: Create log file from script + midnight commander ... Complete newbie here:-| ... I have managed to create a few scripts which are started from crontab.... However I would like a verification that they actually have been executed. ... (comp.unix.bsd.freebsd.misc)
Re: cron/crontab ? ... > Some of these folders have scripts in them already. ... > executed hourly in the hourly.cron folder and it would be run by cron? ... > to say crontab isn't being called by the running crond? ... On a home computer you can't have a cron job that clean up things the last Sunday every month at 0300 or something ... (alt.os.linux)
Re: What exactly does cron task weekly do? ... Nobody should live hassle to run scripts manually.... Getting the crontab lines exactly right can be a little tricky. ... Some people have better things to do rather than editing cron tabs manually.... You two should better read rather than coming up with creative nerdy stuff like "click and drool", a completely manual, applescript based method was suggested to clear newbie. ... (comp.sys.mac.system)
Re: crontab Qs: what is "run-parts" & how 2 display all crontabs? ... man 5 crontab....run-parts is a small program that runs all the shell scripts in the ...scripts in /etc/cron.hourly/ on the first minute of every hour, ... for USER in bob fred joe xyzzy bill ted;... (comp.os.linux.setup)