<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.elphel.com/index.php?action=history&amp;feed=atom&amp;title=Adding_crond</id>
	<title>Adding crond - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.elphel.com/index.php?action=history&amp;feed=atom&amp;title=Adding_crond"/>
	<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Adding_crond&amp;action=history"/>
	<updated>2026-09-28T15:39:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Adding_crond&amp;diff=8371&amp;oldid=prev</id>
		<title>Fortuitous at 18:55, 30 November 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Adding_crond&amp;diff=8371&amp;oldid=prev"/>
		<updated>2010-11-30T18:55:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:55, 30 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Adding the Cron Scheduler Daemon into 8.X=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Adding the Cron Scheduler Daemon into 8.X=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;By: Philip Carinhas http://fortuitous.com&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Synopsis: This covers the Installation of Cron Daemon into the Elphel353 using the 8.X firmware ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Synopsis: This covers the Installation of Cron Daemon into the Elphel353 using the 8.X firmware ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fortuitous</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Adding_crond&amp;diff=8370&amp;oldid=prev</id>
		<title>Fortuitous: /* Adding Cron Daemon */</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Adding_crond&amp;diff=8370&amp;oldid=prev"/>
		<updated>2010-11-30T18:49:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Adding Cron Daemon&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:49, 30 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Adding Cron Daemon=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Adding &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/ins&gt;Cron &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Scheduler &lt;/ins&gt;Daemon &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;into 8.X&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Installation of Cron Daemon into the Elphel353&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Philip Carinhas&amp;lt;br&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Synopsis&lt;/ins&gt;: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;This covers the Installation of Cron Daemon into the Elphel353 using the 8&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;X firmware ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Fortuitous Technologies Inc&amp;lt;br&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;http&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;//fortuitous&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;com&amp;lt;br&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I. Introduction&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I. Introduction&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fortuitous</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Adding_crond&amp;diff=8369&amp;oldid=prev</id>
		<title>Fortuitous: Created page with &quot;=Adding Cron Daemon= Installation of Cron Daemon into the Elphel353  Philip Carinhas&lt;br&gt; Fortuitous Technologies Inc&lt;br&gt; http://fortuitous.com&lt;br&gt;  I. Introduction  Crond and cro...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Adding_crond&amp;diff=8369&amp;oldid=prev"/>
		<updated>2010-11-30T17:07:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Adding Cron Daemon= Installation of Cron Daemon into the Elphel353  Philip Carinhas&amp;lt;br&amp;gt; Fortuitous Technologies Inc&amp;lt;br&amp;gt; http://fortuitous.com&amp;lt;br&amp;gt;  I. Introduction  Crond and cro...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Adding Cron Daemon=&lt;br /&gt;
Installation of Cron Daemon into the Elphel353&lt;br /&gt;
&lt;br /&gt;
Philip Carinhas&amp;lt;br&amp;gt;&lt;br /&gt;
Fortuitous Technologies Inc&amp;lt;br&amp;gt;&lt;br /&gt;
http://fortuitous.com&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I. Introduction&lt;br /&gt;
&lt;br /&gt;
Crond and crontab are part of busybox in the Axis embedded distro.&amp;lt;br&amp;gt;&lt;br /&gt;
Activating these is easy, but you need to add a few extra ingredients&amp;lt;br&amp;gt;&lt;br /&gt;
to complete the process.&lt;br /&gt;
* Much of this was adapted from http://foxlx.acmesystems.it/?id=58&lt;br /&gt;
&lt;br /&gt;
II. Installation:&lt;br /&gt;
&lt;br /&gt;
0. Set some environment vars:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;: AXIS_TOP_DIR=/path/to/your/elphel-dev-kit-base&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  cd $AXIS_TOP_DIR&lt;br /&gt;
&lt;br /&gt;
1. Go into the busybox area (which is where crond is integrated)&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  cd packages/apps/busybox&lt;br /&gt;
&lt;br /&gt;
2. configure crond and crontab in busybox:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  make menuconfig&lt;br /&gt;
    ==&amp;gt; Miscellaneous Utilities&lt;br /&gt;
     --&amp;gt; Select Crond&lt;br /&gt;
     --&amp;gt; Select Crontab&lt;br /&gt;
     --&amp;gt; exit, exit, save when asked&lt;br /&gt;
&lt;br /&gt;
3. This config isn&amp;#039;t the real one, you must copy it into busyboxconfig to make it stick:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  diff .config busyboxconfig&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  cp .config busyboxconfig&lt;br /&gt;
&lt;br /&gt;
4a. Now add the init script in the SDK to create the right directory inside the FOX fimage end the script to start and stop the crond daemon.&amp;lt;br&amp;gt;&lt;br /&gt;
Go in the  packages/initscripts folder and create a folder named crond:&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  cd $AXIS_TOP_DIR/packages/initscripts&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  mkdir crond&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  cd crond&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4b. Now copy inside it these files: rc, conf, Makefile as follows: &lt;br /&gt;
* Please Note: we&amp;#039;ve added an extra line in Makefile to touch the config files which differs from the&amp;lt;br&amp;gt;example in http://foxlx.acmesystems.it/?id=58 &lt;br /&gt;
&amp;lt;br&amp;gt;First we&amp;#039;ll make these files with cat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;root@cam&amp;gt;: cat &amp;lt;&amp;lt; ENDOFIT &amp;gt; rc&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
. /etc/init.d/functions.sh&lt;br /&gt;
. /etc/conf.d/crond&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
        start)&lt;br /&gt;
                begin &amp;quot;Starting crond&amp;quot;&lt;br /&gt;
                crond $CROND_OPTIONS&lt;br /&gt;
                end $?&lt;br /&gt;
                ;;&lt;br /&gt;
        stop)&lt;br /&gt;
                begin &amp;quot;Stopping crond&amp;quot;&lt;br /&gt;
                killall crond&lt;br /&gt;
                end $?&lt;br /&gt;
                ;;&lt;br /&gt;
        *)      &lt;br /&gt;
        error &amp;quot;Usage: $0 start|stop&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
ENDOFI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;root@cam&amp;gt;:  cat &amp;lt;&amp;lt; ENDOFIT &amp;gt; conf&lt;br /&gt;
CROND_OPTIONS=&amp;quot;&amp;quot; &lt;br /&gt;
ENDOFIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Note: On this next one: Make sure that the following has TABS in the indented lines or &amp;quot;make&amp;quot; will fail!&amp;lt;br&amp;gt;I&amp;#039;ve tried to cut-and-paste these linesto check for consistency, but its not 100% accurate. Depends on your editor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;root@cam&amp;gt;:  cat &amp;lt;&amp;lt; ENDOFIT &amp;gt; Makefile&lt;br /&gt;
include \$(AXIS_TOP_DIR)/tools/build/Rules.axis&lt;br /&gt;
&lt;br /&gt;
OWN = -o root -g root&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
install:&lt;br /&gt;
	\$(INSTALL) \$(OWN) -m 0755 rc &amp;quot;\$(prefix)&amp;quot;/etc/init.d/crond&lt;br /&gt;
	\$(INSTALL) \$(OWN) -m 0644 conf &amp;quot;\$(prefix)&amp;quot;/etc/conf.d/crond&lt;br /&gt;
	\$(LN) -sf ../init.d/crond &amp;quot;\$(prefix)&amp;quot;/etc/rc0.d/K90crond&lt;br /&gt;
	\$(LN) -sf ../init.d/crond &amp;quot;\$(prefix)&amp;quot;/etc/rc1.d/K90crond&lt;br /&gt;
	\$(LN) -sf ../init.d/crond &amp;quot;\$(prefix)&amp;quot;/etc/rc2.d/K90crond&lt;br /&gt;
	\$(LN) -sf ../init.d/crond &amp;quot;\$(prefix)&amp;quot;/etc/rc3.d/S90crond&lt;br /&gt;
	\$(LN) -sf ../init.d/crond &amp;quot;\$(prefix)&amp;quot;/etc/rc4.d/S90crond&lt;br /&gt;
	\$(LN) -sf ../init.d/crond &amp;quot;\$(prefix)&amp;quot;/etc/rc5.d/K15crond&lt;br /&gt;
	\$(LN) -sf ../init.d/crond &amp;quot;\$(prefix)&amp;quot;/etc/rc6.d/K15crond&lt;br /&gt;
        &lt;br /&gt;
	mkdir &amp;quot;\$(prefix)&amp;quot;/var/spool&lt;br /&gt;
	mkdir &amp;quot;\$(prefix)&amp;quot;/var/spool/cron&lt;br /&gt;
	mkdir &amp;quot;\$(prefix)&amp;quot;/mnt/flash/crontabs&lt;br /&gt;
	touch &amp;quot;\$(prefix)&amp;quot;/mnt/flash/crontabs/root&lt;br /&gt;
        &lt;br /&gt;
	\$(LN) -sf /mnt/flash/crontabs &amp;quot;\$(prefix)&amp;quot;/var/spool/cron/crontabs&lt;br /&gt;
ENDOFIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Go back to the SDK root folder and edit the main Makefile.&lt;br /&gt;
  &amp;lt;root@cam&amp;gt;:  cd $AXIS_TOP_DIR&lt;br /&gt;
  &amp;lt;root@cam&amp;gt;:  vi Makefile&lt;br /&gt;
    -&amp;gt; Search for SUBDIRS list:&lt;br /&gt;
    -&amp;gt; Add &amp;quot;packages/initscripts/crond&amp;quot; to end of list&lt;br /&gt;
    -&amp;gt; You will have to add a continuation backslash to the prior line&lt;br /&gt;
&lt;br /&gt;
6. Make the image as usual:&lt;br /&gt;
   &amp;lt;root@cam&amp;gt;:  make (or use Kdevelop)&lt;br /&gt;
&lt;br /&gt;
7. FBI WARNING: since there is no Mail services on elphel, all stderr and stdout must be handled in your crontab. &amp;lt;br&amp;gt;Otherwise crond can fail, certainly your scripts will fail.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;root@cam&amp;gt;: cat &amp;lt;&amp;lt; ENDOFIT &amp;gt; ~/root.cron&lt;br /&gt;
# Sample crontab file&lt;br /&gt;
*/2 * * * * /bin/echo &amp;quot;cron is good&amp;quot; &amp;gt;&amp;gt; /mnt/flash/root/cron_check.out 2&amp;gt;&amp;amp;1&lt;br /&gt;
ENDOFIT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8. Now test:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;root@cam&amp;gt;: crontab root.cron&lt;br /&gt;
 &amp;lt;root@cam&amp;gt;: crontab -l&lt;/div&gt;</summary>
		<author><name>Fortuitous</name></author>
	</entry>
</feed>