<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Irwinr</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Irwinr"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Irwinr"/>
	<updated>2026-05-22T05:42:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application_talk:Govnah&amp;diff=9787</id>
		<title>Application talk:Govnah</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application_talk:Govnah&amp;diff=9787"/>
		<updated>2010-05-04T23:09:29Z</updated>

		<summary type="html">&lt;p&gt;Irwinr: New page: Question:  Does the 'governor' select in Govnah (IE: Screenstate for example) keep governing the CPU even after 'Govnah' is closed?  --irwinr&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Question:  Does the 'governor' select in Govnah (IE: Screenstate for example) keep governing the CPU even after 'Govnah' is closed?  --irwinr&lt;/div&gt;</summary>
		<author><name>Irwinr</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Talk:Uber_Calendar&amp;diff=9785</id>
		<title>Talk:Uber Calendar</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Talk:Uber_Calendar&amp;diff=9785"/>
		<updated>2010-05-04T22:59:29Z</updated>

		<summary type="html">&lt;p&gt;Irwinr: New page: So what exactly does this do?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So what exactly does this do?&lt;/div&gt;</summary>
		<author><name>Irwinr</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Talk:Colorful_Bash_Prompt&amp;diff=9154</id>
		<title>Talk:Colorful Bash Prompt</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Talk:Colorful_Bash_Prompt&amp;diff=9154"/>
		<updated>2010-02-21T15:26:04Z</updated>

		<summary type="html">&lt;p&gt;Irwinr: New section: Read only file system&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[User:Cooknn|Cooknn]] 15:05, 21 February 2010 (UTC) Even though I'm root I get &amp;quot;read only filesystem&amp;quot; when I try to create /etc/bash or even modify /etc/profile.  Suggestion would be greatly appreciated!&lt;br /&gt;
&lt;br /&gt;
== Read only file system ==&lt;br /&gt;
&lt;br /&gt;
The file system on the WebOS is *mounted* read-only, so no process (superuser or not) may modify the file system.&lt;br /&gt;
&lt;br /&gt;
To make changes, you have to 'remount' the file system in read-write mode:&lt;br /&gt;
&lt;br /&gt;
mount -o rw,remount /&lt;br /&gt;
&lt;br /&gt;
This command must be run as with sudo (or as root).&lt;/div&gt;</summary>
		<author><name>Irwinr</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=4760</id>
		<title>Crond</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=4760"/>
		<updated>2009-08-24T15:26:54Z</updated>

		<summary type="html">&lt;p&gt;Irwinr: /* Alternative (ipkg-opt) Method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Enabling Stock Cron==&lt;br /&gt;
&lt;br /&gt;
The [[Patch webOS GPS Tracking]] guide had a nice bit about enabling crond on the Pre. It looks like its already pre-installed, just not set up to start. You will need to edit /etc/event.d/mod-crond (don't modify the existing crond startup-script) to enable cron to start. The settings should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# -*- mode: conf; -*-&lt;br /&gt;
&lt;br /&gt;
# jobfile for busybox crond, with pre-start commands to create the&lt;br /&gt;
# directory and files it wants by default.  That there's not 'start&lt;br /&gt;
# on' stanza is intentional: it's for development use only.  We can&lt;br /&gt;
# turn it on later if we need it, e.g. to keep the clock synced.  It&lt;br /&gt;
# does work.&lt;br /&gt;
&lt;br /&gt;
start on stopped configure&lt;br /&gt;
stop on started start_update&lt;br /&gt;
&lt;br /&gt;
respawn&lt;br /&gt;
&lt;br /&gt;
exec /usr/sbin/crond -f -L /var/log/crond&lt;br /&gt;
&lt;br /&gt;
pre-start script&lt;br /&gt;
    mkdir -p /var/spool/cron/crontabs&lt;br /&gt;
    ln -sf /etc/cron/crontabs/root /var/spool/cron/crontabs/root&lt;br /&gt;
end script&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A few notes here. Unlike the Dropbear and other scripts I make my upstart scripts so that essential services don't stop when the device exists runlevel 2.  This seems to shutdown these services whenever the device locks. I prefer that my upstart services stop only when the updater runs.  Also I have made cron log to a separate file under /var/log so that it can be monitored better.&lt;br /&gt;
&lt;br /&gt;
One thing to note about the standard script for cron on the Pre is that the /var/spool/cron/crontabs directory is created every time the process runs and a symlink to /etc/cron/crontabs/root is created.  To my surprise this file does not exist.  So we need to create it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo mkdir -p /etc/cron/crontabs&lt;br /&gt;
sudo sh -c 'echo &amp;gt; /etc/cron/crontabs/root'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now to start up crond:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;sudo -i initctl start crond&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note for clarification:  I attempted this and it all works OK, but I can't figure out how to actually schedule jobs.  I modified /etc/cron/crontabs/root, but nothing seems to happen.  I also tried crontab -e, and that doesn't seem to do anything either.  I suggest adding a note here clarifying what needs to be done to actually add a cron job.  -irwinr&lt;br /&gt;
&lt;br /&gt;
==Alternative (ipkg-opt) Method==&lt;br /&gt;
&lt;br /&gt;
* Another request for clarification:  It's not clear which of these two methods are preferred.  This method appears to not work when the screen is off (rendering cron pretty useless), the above method appears to delete the cron entries every time the cron daemon starts.  Has anyone worked out either of these issues?  -irwinr.&lt;br /&gt;
&lt;br /&gt;
crond is a system that allows command to be run at specified intervals. &lt;br /&gt;
&lt;br /&gt;
Do not use the built in crontab -e  as it is overwritten on each boot.&lt;br /&gt;
&lt;br /&gt;
Optware has cron available as an installable package, and using /opt/etc/cron.d/ for cron files will not conflict with any Palm files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo -i &lt;br /&gt;
mount -o remount,rw /&lt;br /&gt;
ipkg-opt update&lt;br /&gt;
ipkg-opt install cron&lt;br /&gt;
/opt/bin/crontab -e&lt;br /&gt;
# Add script and intervals here&lt;br /&gt;
mount -o remount,ro /&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This does not seem to work when the phone's screen turns off. I tried it plugged in for two minutes then unplugged, and turned the screen off for two minutes. I ran &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;echo `date` &amp;gt;&amp;gt; sleep.log&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And got...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# cat sleep.log &lt;br /&gt;
Wed Jul 1 18:27:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:28:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009  ## Turned the screen back on. It seems to play catch up.&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Irwinr</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=4759</id>
		<title>Crond</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=4759"/>
		<updated>2009-08-24T15:26:16Z</updated>

		<summary type="html">&lt;p&gt;Irwinr: /* Alternative (ipkg-opt) Method */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Enabling Stock Cron==&lt;br /&gt;
&lt;br /&gt;
The [[Patch webOS GPS Tracking]] guide had a nice bit about enabling crond on the Pre. It looks like its already pre-installed, just not set up to start. You will need to edit /etc/event.d/mod-crond (don't modify the existing crond startup-script) to enable cron to start. The settings should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# -*- mode: conf; -*-&lt;br /&gt;
&lt;br /&gt;
# jobfile for busybox crond, with pre-start commands to create the&lt;br /&gt;
# directory and files it wants by default.  That there's not 'start&lt;br /&gt;
# on' stanza is intentional: it's for development use only.  We can&lt;br /&gt;
# turn it on later if we need it, e.g. to keep the clock synced.  It&lt;br /&gt;
# does work.&lt;br /&gt;
&lt;br /&gt;
start on stopped configure&lt;br /&gt;
stop on started start_update&lt;br /&gt;
&lt;br /&gt;
respawn&lt;br /&gt;
&lt;br /&gt;
exec /usr/sbin/crond -f -L /var/log/crond&lt;br /&gt;
&lt;br /&gt;
pre-start script&lt;br /&gt;
    mkdir -p /var/spool/cron/crontabs&lt;br /&gt;
    ln -sf /etc/cron/crontabs/root /var/spool/cron/crontabs/root&lt;br /&gt;
end script&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A few notes here. Unlike the Dropbear and other scripts I make my upstart scripts so that essential services don't stop when the device exists runlevel 2.  This seems to shutdown these services whenever the device locks. I prefer that my upstart services stop only when the updater runs.  Also I have made cron log to a separate file under /var/log so that it can be monitored better.&lt;br /&gt;
&lt;br /&gt;
One thing to note about the standard script for cron on the Pre is that the /var/spool/cron/crontabs directory is created every time the process runs and a symlink to /etc/cron/crontabs/root is created.  To my surprise this file does not exist.  So we need to create it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo mkdir -p /etc/cron/crontabs&lt;br /&gt;
sudo sh -c 'echo &amp;gt; /etc/cron/crontabs/root'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now to start up crond:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;sudo -i initctl start crond&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note for clarification:  I attempted this and it all works OK, but I can't figure out how to actually schedule jobs.  I modified /etc/cron/crontabs/root, but nothing seems to happen.  I also tried crontab -e, and that doesn't seem to do anything either.  I suggest adding a note here clarifying what needs to be done to actually add a cron job.  -irwinr&lt;br /&gt;
&lt;br /&gt;
==Alternative (ipkg-opt) Method==&lt;br /&gt;
&lt;br /&gt;
Request for clarification:  It's not clear which of these two methods are preferred.  This method appears to not work when the screen is off (rendering cron pretty useless), the above method appears to delete the cron entries every time the cron daemon starts.  Has anyone worked out either of these issues?  -irwinr.&lt;br /&gt;
&lt;br /&gt;
crond is a system that allows command to be run at specified intervals. &lt;br /&gt;
&lt;br /&gt;
Do not use the built in crontab -e  as it is overwritten on each boot.&lt;br /&gt;
&lt;br /&gt;
Optware has cron available as an installable package, and using /opt/etc/cron.d/ for cron files will not conflict with any Palm files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo -i &lt;br /&gt;
mount -o remount,rw /&lt;br /&gt;
ipkg-opt update&lt;br /&gt;
ipkg-opt install cron&lt;br /&gt;
/opt/bin/crontab -e&lt;br /&gt;
# Add script and intervals here&lt;br /&gt;
mount -o remount,ro /&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This does not seem to work when the phone's screen turns off. I tried it plugged in for two minutes then unplugged, and turned the screen off for two minutes. I ran &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;echo `date` &amp;gt;&amp;gt; sleep.log&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And got...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# cat sleep.log &lt;br /&gt;
Wed Jul 1 18:27:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:28:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009  ## Turned the screen back on. It seems to play catch up.&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Irwinr</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=4549</id>
		<title>Crond</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=4549"/>
		<updated>2009-08-19T22:56:35Z</updated>

		<summary type="html">&lt;p&gt;Irwinr: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Enabling Stock Cron==&lt;br /&gt;
&lt;br /&gt;
The [[Patch webOS GPS Tracking]] guide had a nice bit about enabling crond on the Pre. It looks like its already pre-installed, just not set up to start. You will need to edit /etc/event.d/mod-crond (don't modify the existing crond startup-script) to enable cron to start. The settings should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# -*- mode: conf; -*-&lt;br /&gt;
&lt;br /&gt;
# jobfile for busybox crond, with pre-start commands to create the&lt;br /&gt;
# directory and files it wants by default.  That there's not 'start&lt;br /&gt;
# on' stanza is intentional: it's for development use only.  We can&lt;br /&gt;
# turn it on later if we need it, e.g. to keep the clock synced.  It&lt;br /&gt;
# does work.&lt;br /&gt;
&lt;br /&gt;
start on stopped configure&lt;br /&gt;
stop on started start_update&lt;br /&gt;
&lt;br /&gt;
respawn&lt;br /&gt;
&lt;br /&gt;
exec /usr/sbin/crond -f -L /var/log/crond&lt;br /&gt;
&lt;br /&gt;
pre-start script&lt;br /&gt;
    mkdir -p /var/spool/cron/crontabs&lt;br /&gt;
    ln -sf /etc/cron/crontabs/root /var/spool/cron/crontabs/root&lt;br /&gt;
end script&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A few notes here. Unlike the Dropbear and other scripts I make my upstart scripts so that essential services don't stop when the device exists runlevel 2.  This seems to shutdown these services whenever the device locks. I prefer that my upstart services stop only when the updater runs.  Also I have made cron log to a separate file under /var/log so that it can be monitored better.&lt;br /&gt;
&lt;br /&gt;
One thing to note about the standard script for cron on the Pre is that the /var/spool/cron/crontabs directory is created every time the process runs and a symlink to /etc/cron/crontabs/root is created.  To my surprise this file does not exist.  So we need to create it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo mkdir -p /etc/cron/crontabs&lt;br /&gt;
sudo sh -c 'echo &amp;gt; /etc/cron/crontabs/root'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now to start up crond:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;sudo -i initctl start crond&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note for clarification:  I attempted this and it all works OK, but I can't figure out how to actually schedule jobs.  I modified /etc/cron/crontabs/root, but nothing seems to happen.  I also tried crontab -e, and that doesn't seem to do anything either.  I suggest adding a note here clarifying what needs to be done to actually add a cron job.  -irwinr&lt;br /&gt;
&lt;br /&gt;
==Alternative (ipkg-opt) Method==&lt;br /&gt;
&lt;br /&gt;
crond is a system that allows command to be run at specified intervals. &lt;br /&gt;
&lt;br /&gt;
Do not use the built in crontab -e  as it is overwritten on each boot.&lt;br /&gt;
&lt;br /&gt;
Optware has cron available as an installable package, and using /opt/etc/cron.d/ for cron files will not conflict with any Palm files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo -i &lt;br /&gt;
mount -o remount,rw /&lt;br /&gt;
ipkg-opt update&lt;br /&gt;
ipkg-opt install cron&lt;br /&gt;
/opt/bin/crontab -e&lt;br /&gt;
# Add script and intervals here&lt;br /&gt;
mount -o remount,ro /&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This does not seam to work when the phone's screen turns off. &lt;br /&gt;
I tried it plugged in for 2 min then unplugged and turned the screen off for 2 min,*/1 * * * echo `date` &amp;gt;&amp;gt; sleep.log and got:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# cat sleep.log &lt;br /&gt;
Wed Jul 1 18:27:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:28:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009  ## this is when i turned the screen back on, seams to play catch up&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Irwinr</name></author>
	</entry>
</feed>