<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5585&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Regarding making cronie jobs,]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5585</link>
		<description><![CDATA[The most recent posts in Regarding making cronie jobs,.]]></description>
		<lastBuildDate>Sun, 19 Mar 2023 20:11:40 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41561#p41561</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>Possibly yes; <span class="bbc">cron</span> typically executes scripts and programs in <span class="bbc">/etc/cron.hourly</span> according to the line saying so in <span class="bbc">/etc/crontab</span>.</p><p>See also the note about PATH in <span class="bbc">man 5 crontab</span>.</p></div></blockquote></div><p>Couldn&#039;t figure out how to start this, dunno why. </p><p>*sigh*</p><p>But no worries, the developer of tblock actually is trying to debloat his package so it won&#039;t slow everything down to a crawl. </p><p><img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Sun, 19 Mar 2023 20:11:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41561#p41561</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41428#p41428</link>
			<description><![CDATA[<p>Possibly yes; <span class="bbc">cron</span> typically executes scripts and programs in <span class="bbc">/etc/cron.hourly</span> according to the line saying so in <span class="bbc">/etc/crontab</span>.</p><p>See also the note about PATH in <span class="bbc">man 5 crontab</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 07 Mar 2023 04:38:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41428#p41428</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41427#p41427</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>/etc/rc.local is an executable script (or program) that gets exec&#039;d by e.g.,&#160; the /etc/init.d/rc.local startup script.</p><p>/etc/inittab is a configuration file for sysvinit&#039;s init program, and it is not a script, but rather a series of service declarations that are interpreted by /sbin/init. When man pages were a thing you would have &quot;man inittab&quot; as way of finding out its syntax.</p></div></blockquote></div><p>Hmm.. if I understand then correctly, all I need to do is put it in the hourly folder and set it up like a cron file and it should work, right?</p><p>wanting to make a system type one where you add parameters at the end as I said above, I think?</p><p>tblock -Syu</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Tue, 07 Mar 2023 03:31:44 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41427#p41427</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41424#p41424</link>
			<description><![CDATA[<p>/etc/rc.local is an executable script (or program) that gets exec&#039;d by e.g.,&#160; the /etc/init.d/rc.local startup script.</p><p>/etc/inittab is a configuration file for sysvinit&#039;s init program, and it is not a script, but rather a series of service declarations that are interpreted by /sbin/init. When man pages were a thing you would have &quot;man inittab&quot; as way of finding out its syntax.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 07 Mar 2023 01:25:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41424#p41424</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41418#p41418</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p><span class="bbc">/etc/rc.local</span> belongs to <span class="bbc">initscripts</span> which according to its dependencies are used the same in <span class="bbc">sysv-rc | file-rc | openrc</span>.</p><p>So, no, it&#039;s not a sysvinit function.</p><p>I suppose there is always the question of which belongs to what, and in particular, which part of the OS belongs to &quot;the init system&quot;. When asked, different people answers different things about that. Perhaps the most strict view about sysvinit would be to say that it consists only of the binaries of <span class="bbc">sysvinit-core</span> and the configuration file <span class="bbc">/etc/inittab</span>, and then anything below that is &quot;run control&quot;, start up code or daemons.</p><p>And then perhaps an opposite &quot;init is everything&quot; may also be peddled, as well as any concept granularity in between.</p></div></blockquote></div><p>Hmm... the peculiar thing is... I don&#039;t have an rc.local.</p><p>I have something like this:</p><p>a readme is here:<br />&#160; /usr/share/openrc/support/sysvinit/README.md&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; <br />says the below:</p><p>Here&#039;s a sample inittab for use with sysvinit for Linux based systems.<br />We don&#039;t install it by default as sysvinit packages normally own this file.</p><p>Anywho, isn&#039;t there an example of what it is supposed to look like when it is being used?</p><p>I suppose I could check other unixlike systems to see what they look like when cron is being used.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Mon, 06 Mar 2023 23:20:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41418#p41418</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41369#p41369</link>
			<description><![CDATA[<p>Now there&#039;s an answer!</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sat, 04 Mar 2023 02:16:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41369#p41369</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41367#p41367</link>
			<description><![CDATA[<p><span class="bbc">/etc/rc.local</span> belongs to <span class="bbc">initscripts</span> which according to its dependencies are used the same in <span class="bbc">sysv-rc | file-rc | openrc</span>.</p><p>So, no, it&#039;s not a sysvinit function.</p><p>I suppose there is always the question of which belongs to what, and in particular, which part of the OS belongs to &quot;the init system&quot;. When asked, different people answers different things about that. Perhaps the most strict view about sysvinit would be to say that it consists only of the binaries of <span class="bbc">sysvinit-core</span> and the configuration file <span class="bbc">/etc/inittab</span>, and then anything below that is &quot;run control&quot;, start up code or daemons.</p><p>And then perhaps an opposite &quot;init is everything&quot; may also be peddled, as well as any concept granularity in between.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sat, 04 Mar 2023 00:55:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41367#p41367</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41366#p41366</link>
			<description><![CDATA[<div class="quotebox"><cite>zapper wrote:</cite><blockquote><div><p>I ask because, isn&#039;t /etc/rc.local a sysvinit function?</p></div></blockquote></div><p>IIRC, openrc uses the sysvinit scripts.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sat, 04 Mar 2023 00:51:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41366#p41366</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41363#p41363</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>The scripts in /etc/cron.* and /etc/rc.local will run as root. Any that you set in your desktop startup apps will run as your user.</p></div></blockquote></div><p>Hmm... okay, just one thing comes to mind though, how would this work in openrc?</p><p>I cannot find /etc/rc.local and I am not completely sure what a script is supposed to look like when it is set&#160; to do a command.</p><p>I ask because, isn&#039;t /etc/rc.local a sysvinit function?</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Sat, 04 Mar 2023 00:25:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41363#p41363</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41358#p41358</link>
			<description><![CDATA[<p>The scripts in /etc/cron.* and /etc/rc.local will run as root. Any that you set in your desktop startup apps will run as your user.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 03 Mar 2023 12:53:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41358#p41358</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41357#p41357</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>For every hour, you could put a script in /etc/cron.hourly.<br />For running something upon login, you would probably put it in some file that gets sourced at login or in your desktop&#039;s startup apps. (e.g. .bashrc, .profile, .xsettings, or other. I&#039;m not sure what&#039;s most appropriate.)<br />For running something when you boot up, you could put commands in /etc/rc.local.</p></div></blockquote></div><p>Would it have root permissions? If so, that would suffice.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Fri, 03 Mar 2023 07:19:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41357#p41357</guid>
		</item>
		<item>
			<title><![CDATA[Re: Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41343#p41343</link>
			<description><![CDATA[<p>For every hour, you could put a script in /etc/cron.hourly.<br />For running something upon login, you would probably put it in some file that gets sourced at login or in your desktop&#039;s startup apps. (e.g. .bashrc, .profile, .xsettings, or other. I&#039;m not sure what&#039;s most appropriate.)<br />For running something when you boot up, you could put commands in /etc/rc.local.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 01 Mar 2023 15:46:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41343#p41343</guid>
		</item>
		<item>
			<title><![CDATA[Regarding making cronie jobs,]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41335#p41335</link>
			<description><![CDATA[<p>I wanted to know how to do so and also, how to do so with command line arguments.</p><p>Like this for example:</p><p>xset dpms noblank on</p><p>ONLY, added to whatever crontab I want.</p><p>The one I actually want added is this though, for root:</p><p>tblock -Syu</p><p>Aka, I want tblock to update my /etc/hosts every time I log in and after that, every hour.</p><p>Thoughts?</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Tue, 28 Feb 2023 19:01:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41335#p41335</guid>
		</item>
	</channel>
</rss>
