Difference between revisions of "Talk:Cron"

From ArchWiki
Jump to: navigation, search
(default?: not anymore)
(Clean-up old talk)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.
--[[User:Trey|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. -- [[User:Jeff story|Jeff story]] 22:48, 18 March 2011 (EDT)
:I pasted here your comment. -- [[User:Kynikos|Kynikos]] 20:15, 18 March 2011 (EDT)
== https://wiki.archlinux.org/index.php/Cron ==
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 {{Filename|~/.esmtprc}} 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 {{Filename|message.txt}} with "your message" in it.
From the directory containing {{Filename|message.txt}} 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. -- [[User:Kynikos|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. -- [[User:Kynikos|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. -- [[User:Pointone|pointone]] 16:23, 19 March 2011 (EDT)
== default? ==
My install is around a week old, and dcron is not installed by default. Searching with pacman indicates that the package cronie is already installed as part of the base group. dcron is part of no group. I feel someone with greater authority than I should confirm this and correct the article. [[User:Stevepoppers|Stevepoppers]] 11:38, 15 May 2011 (EDT)
:[http://mailman.archlinux.org/pipermail/arch-general/2011-May/019868.html Good catch]: cronie will be the default cron daemon on new installs in the future. I'm not sure if all that's needed is a simple name change in the article though. Feel free to test it and fix what's needed.-- [[User:Karol|Karol]] 18:23, 15 May 2011 (EDT)

Revision as of 18:19, 21 August 2012