Traditional cron works as on Solaris. On RHEL5/OEL5 this is vixie-cron. On RHEL6, it's cronie.
Anacron runs on boot (in case it needs to run tasks now - such as if it had a 2am job and gets shutdown overnight). It used to get called by the regular cron, it is now controlled by /etc/anacrontab
/etc/anacrontab tells anacron to run cron.daily at "1 65 cron.daily" - ie, every 1 day, after 65 minutes - ie, 0105AM.
Similarly cron.weekly is run at "7 70" - do the weekly jobs at 0110AM every 7 days.
cron.monthly is run at "30 75" - every 30 days at 0115AM.
So, this mechanism controls when (on a typical system, up 24/7) the cron jobs get run.
I found this information from a blog which Google's cache still remembers, but which is currently redirecting to some celebrity gossip magazine, so presumably the domain has expired, or something similar.
These instructions worked for my Brother HL4040CN colour laser printer. In Step 4, the "B.TNR" represents the black toner, "Y.TNR" is the yellow toner, "M.TNR" is the magenta toner, and "C.TNR" is the cyan toner, so you can choose which counters you would like to reset.
1)Open the front door – the message ‘Cover is Open’ will appear.
2) Press and hold the cancel button.
3) Press the Reprint button – the message ‘Reset Parts Life’ should appear. Release the Cancel button.
4) Then do the following:
B.TNR-H – Select ok, accepted should display. Press ^
B.TNR-S – Select ok, accepted should display. Press ^
Y.TNR-H – Select ok, accepted should display. Press ^
Y.TNR-S – Select ok, accepted should display. Press ^
M.TNR-H – Select ok, accepted should display. Press ^
M.TNR-S – Select ok, accepted should display. Press ^
C.TNR-H – Select ok, accepted should display. Press ^
C.TNR-S – Select ok, accepted should display. Press ^
6) Close the front door.
Of all things that I have tried to achieve, one thing that I never aimed for, but am still stupidly proud of, is that my shell scripting tutorial is the first hit, out of 19 million, for a google search of "steve unix".
As mentioned previously, I wrote a Netmask Calculator for Android devices a while ago.
It seems to be faring well enough on the marketplace; the total installs are going up at a modest rate, despite no advertising at all.
I've just been looking into the history of the Shell Scripting book. I'll probably forget what happened when, so here it is, for my own reference.
On 4th Feb 2008, Jenny Watson at Wiley first got in touch with me.
On 16th June 2008, I had two chapters ready for the publishers.
On 20th June 2008, my boss (Simon Stuart at Inteq) put the kaibosh on the whole thing.
On 4th June 2009, my employer (Inteq) went into liquidation, so he lost his rights to tell me what I can and can't do. I spent a year working as a contractor through an umbrella company, then formed my own company in March 2010.
On 7th August 2010 I got back in touch with Wiley.
On 23rd August 2010, Mary at Wiley got in touch with me,
On 19th October 2010, the book was approved by the publishers.
On 11th November 2010, the contract was agreed.
On 13th December 2010, Chapter 3 was approved, with some caveats.
After that, things started taking off. The book was published in August 2011.