Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Linux Based Receivers
Dreambox Support Forum
Dreambox Satellite Receiver | Tutorials | Software
Dreambox 500
How do I setup a cron job?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="compufunk" data-source="post: 654055" data-attributes="member: 288741"><p>Sorry, I meant to get back to you sooner on this, but forgot about it. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite14" alt=":-doh" title="DOH! :-doh" loading="lazy" data-shortname=":-doh" />2</p><p></p><p>It seems that at least part if not all of the /var directory is being dynamically created at boot time. The following command is run during boot, which extracts the contents of /etc/var.tar.gz to /var.</p><p>[CODE]tar xzf /etc/var.tar.gz -C /[/CODE]</p><p></p><p>To get around this, I've made a little script to create the cron job during boot. This is far from an elegant solution, but at least it works. I'm sure there is a better way, I just haven't got physical access to a Darkstar II box at the minute to check it out.</p><p></p><p>Rename the attached file so that the .txt extension is removed, then FTP it to /usr/bin/ and make sure its executable by running chmod on it.</p><p>[CODE]chmod 755 /usr/bin/create_cron.sh[/CODE]</p><p></p><p>To get this script to run at boot time, execute the following command.</p><p>[CODE]echo "/usr/bin/create_cron.sh" >> /etc/init.d/bootup[/CODE]</p><p>Copy and paste this command into your preferred telnet terminal. A mistake in typing it could lead to having to reflash the box. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p><p></p><p>When you reboot, the cron job should be created and activated. I've tested this remotely on a DM600 running Darkstar II.</p></blockquote><p></p>
[QUOTE="compufunk, post: 654055, member: 288741"] Sorry, I meant to get back to you sooner on this, but forgot about it. :-DOH2 It seems that at least part if not all of the /var directory is being dynamically created at boot time. The following command is run during boot, which extracts the contents of /etc/var.tar.gz to /var. [CODE]tar xzf /etc/var.tar.gz -C /[/CODE] To get around this, I've made a little script to create the cron job during boot. This is far from an elegant solution, but at least it works. I'm sure there is a better way, I just haven't got physical access to a Darkstar II box at the minute to check it out. Rename the attached file so that the .txt extension is removed, then FTP it to /usr/bin/ and make sure its executable by running chmod on it. [CODE]chmod 755 /usr/bin/create_cron.sh[/CODE] To get this script to run at boot time, execute the following command. [CODE]echo "/usr/bin/create_cron.sh" >> /etc/init.d/bootup[/CODE] Copy and paste this command into your preferred telnet terminal. A mistake in typing it could lead to having to reflash the box. :p When you reboot, the cron job should be created and activated. I've tested this remotely on a DM600 running Darkstar II. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Linux Based Receivers
Dreambox Support Forum
Dreambox Satellite Receiver | Tutorials | Software
Dreambox 500
How do I setup a cron job?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top