Difference between revisions of "Talk:Crond"

From WebOS Internals
Jump to navigation Jump to search
(→‎WebOS 1.3.1: This is old news, I got it working....)
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
 
* Changes should be made using a regular editor to /etc/cron/crontabs/*
 
* Changes should be made using a regular editor to /etc/cron/crontabs/*
  
== WebOS 1.3.1 ==
 
  
I can not seem to get crond running after updating to WebOS 1.3.1. Any able to get it working? I'll keep working at it later and report back if I discover something... --[[User:Dolio|Dolio]] 12:09, 25 November 2009 (UTC)
+
 
 +
== Alternate event.d config ==
 +
 
 +
I could only get crond to run on startup with these parameters in mod-crond...
 +
 
 +
start on stopped finish<br>
 +
stop on runlevel [!2]
 +
 
 +
But then it has the issues with stopping when going to sleep.
 +
 
 +
--[[User:Xorg|Xorg]] 18:57, 16 December 2009 (UTC)
 +
 
 +
== Cron log file does not rotate. ==
 +
 
 +
Just a heads up that the cron log file is not rotated, if filled up my /var volume one day and I had to manually purge itI intend to look into getting the cron log added to the normal log file rotations, unless someone beats me to it... --[[User:Dolio|Dolio]] 05:38, 5 July 2010 (UTC)

Latest revision as of 06:39, 5 July 2010

Is /opt/bin/crontab -e the original cron file that we should not be editing? If so does the package install of of cron need to be updated?

Keep these things in mind when running the cron daemon that ships with the Pre.


  • The daemon reads files in /etc/cron/crontabs/
  • crontab -e edits files in /var/spool/cron/crontabs/
  • When crontab -e does an edit, it makes a temporary copy of the file, which is what the user actually edits, verifies the changes, and then replaces the existing file.
  • Changes should be made using a regular editor to /etc/cron/crontabs/*


Alternate event.d config

I could only get crond to run on startup with these parameters in mod-crond...

start on stopped finish
stop on runlevel [!2]

But then it has the issues with stopping when going to sleep.

--Xorg 18:57, 16 December 2009 (UTC)

Cron log file does not rotate.

Just a heads up that the cron log file is not rotated, if filled up my /var volume one day and I had to manually purge it. I intend to look into getting the cron log added to the normal log file rotations, unless someone beats me to it... --Dolio 05:38, 5 July 2010 (UTC)