I added a couple of sections to this article, trying to touch on the basic configuration, format, and commands of cron and crontab, and thus thought it appropriate to remove the "expansion" template from the top of the page. I have no idea if this is standard procedure, whether I expanded it to everyone's satisfaction, etc. If anyone has any complaints please fix them, put the expansion template back, berate me, or do whatever needs to be done. Since there was no explanation on this talk page as to what anyone thought needed to be done, I just guessed at what people might want to know. Please let me know if I missed the mark. --Trey 17:00, 7 March 2010 (EST)
"Handling errors of jobs" section accuracy
"Handling errors of jobs" section is inaccurate or incomplete and needs corrections and updated. It was tested, failed to function, and corrections were added which were deleted for some reason. Will have to google for correct info until correct info is restored, or the now deleted section is correctly updated. -- Jeff story 22:48, 18 March 2011 (EDT)
- I pasted here your comment. -- Kynikos 20:15, 18 March 2011 (EDT)
NOTICE TO WIKI EDITORS REGARDING:
Please don't just delete this info I provided as an addition to existing info!!!
Why would that be done in any case unless it was absolutely garbage info?
The reason I edited the WIKI is because as it was written, following the instructions didn't work on my system.
After reading various info from other sources, I did get it working on my system.
I added and shared the info as an option if the original as written instructions didn't work for someone else.
The file I suggest creating is ~/.esmtprc and not the same as /etc/esmtprc.
This is why following the original wiki instructions did not work and why I took the time to share what I had to do to get it working.
Changing permissions on a non existing file as someone edited will do nothing to fix the issue......
Please read the details before deleting someones contribution!
By Jeff Story
Below is what I added to the WIKI and was deleted.
If the test didn't work, try this. Otherwise, skip to Crontab format
Install esmtp and procmail
- pacman -S esmtp procmail
After installation create file Template:Filename with this content:
mda "/usr/bin/procmail -d %T"
Run the following command to make sure it has the correct 710 permission:
$ chmod 710 ~/.esmtprc
Create a file Template:Filename with "your message" in it.
From the directory containing Template:Filename run:
$ sendmail user_name < message.txt
$ cat /var/spool/mail/user_name
You should see in the terminal, the "your message", the time and date it was sent
- I see, it was deleted because there were too many repetitions, but unfortunately also some useful parts were deleted too. You're perfectly right, but I think that your addition could be condensed, avoiding the repetitive parts and only highlighting what has to be changed with respect to the procedure above. -- Kynikos 09:55, 19 March 2011 (EDT)
- I have reorganized the content a bit, since it had become too redundant, as Pointone stated the first time he removed the section. I have taken care of keeping everything you added. -- Kynikos 16:08, 19 March 2011 (EDT)
- I apologize; I did not notice that slight but important difference -- I just spotted two sections that were 95% identical. Thanks for cleaning this up properly. -- pointone 16:23, 19 March 2011 (EDT)