<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: PHP manage multiple cronjobs with a single crontab entry	</title>
	<atom:link href="https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Sat, 18 May 2019 18:18:25 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Franklin		</title>
		<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-197272</link>

		<dc:creator><![CDATA[Franklin]]></dc:creator>
		<pubDate>Sat, 18 May 2019 18:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=586#comment-197272</guid>

					<description><![CDATA[Thanks, perfect for a frontend cron schedular.]]></description>
			<content:encoded><![CDATA[<p>Thanks, perfect for a frontend cron schedular.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Boogiedoll		</title>
		<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-118078</link>

		<dc:creator><![CDATA[Boogiedoll]]></dc:creator>
		<pubDate>Sat, 13 May 2017 15:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=586#comment-118078</guid>

					<description><![CDATA[How should I put this cron in the cronjob.php file?
0 0 * * * /usr/bin/wget http://myawseomesite.com/backup_database.php &#062;&#062; /home/user/public_html/log.txt 2&#062;&#038;1]]></description>
			<content:encoded><![CDATA[<p>How should I put this cron in the cronjob.php file?<br />
0 0 * * * /usr/bin/wget <a href="http://myawseomesite.com/backup_database.php" rel="nofollow ugc">http://myawseomesite.com/backup_database.php</a> &gt;&gt; /home/user/public_html/log.txt 2&gt;&amp;1</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ahmad		</title>
		<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-67864</link>

		<dc:creator><![CDATA[Ahmad]]></dc:creator>
		<pubDate>Tue, 10 Mar 2015 03:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=586#comment-67864</guid>

					<description><![CDATA[Yeah, Great!!
Very love your alternative solution. This is what i want.


Thanks.]]></description>
			<content:encoded><![CDATA[<p>Yeah, Great!!<br />
Very love your alternative solution. This is what i want.</p>
<p>Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Roland M Souza		</title>
		<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-67397</link>

		<dc:creator><![CDATA[Roland M Souza]]></dc:creator>
		<pubDate>Thu, 11 Sep 2014 14:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=586#comment-67397</guid>

					<description><![CDATA[You saved my day! Thaaaaaaaaaanks!]]></description>
			<content:encoded><![CDATA[<p>You saved my day! Thaaaaaaaaaanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aldis		</title>
		<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-65207</link>

		<dc:creator><![CDATA[Aldis]]></dc:creator>
		<pubDate>Thu, 05 Apr 2012 11:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=586#comment-65207</guid>

					<description><![CDATA[Great!
My hoster allows only one cron job so all tasks are executed in one php and all at once.
This info will help me a lot! Thanks! :)]]></description>
			<content:encoded><![CDATA[<p>Great!<br />
My hoster allows only one cron job so all tasks are executed in one php and all at once.<br />
This info will help me a lot! Thanks! :)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Binary Tides		</title>
		<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-65206</link>

		<dc:creator><![CDATA[Binary Tides]]></dc:creator>
		<pubDate>Thu, 05 Apr 2012 06:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=586#comment-65206</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-65205&quot;&gt;ikke&lt;/a&gt;.

“And where do you store the command to be executed, huh?
That needs another function because this only works with bogus commands like “database_backup”.”

--- Every function/command needs to be stored somewhere in the application code.

“You still need to define “database_backup” somewhere else.”

--- Ofcourse , any tasks needs a definition.

”
And what about a complicated command like this one:
/usr/bin/find /home/user/Procmail -name pmlog* -type f -mtime +60 -exec /bin/rm -f {} ;

That´s not going to work ever.
”

--- Not going to work means ? The whole purpose is to manage task scheduling , not what the tasks do or how they do.
For a command of that kind , you can put it in a php function and call system , exec , passthru or shell_exec.

“To be short this is another example of doing things complicated while it can be done simple.”

--- Its just about managing the task automation. How the task is done is upto the user or the application.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-65205">ikke</a>.</p>
<p>“And where do you store the command to be executed, huh?<br />
That needs another function because this only works with bogus commands like “database_backup”.”</p>
<p>&#8212; Every function/command needs to be stored somewhere in the application code.</p>
<p>“You still need to define “database_backup” somewhere else.”</p>
<p>&#8212; Ofcourse , any tasks needs a definition.</p>
<p>”<br />
And what about a complicated command like this one:<br />
/usr/bin/find /home/user/Procmail -name pmlog* -type f -mtime +60 -exec /bin/rm -f {} ;</p>
<p>That´s not going to work ever.<br />
”</p>
<p>&#8212; Not going to work means ? The whole purpose is to manage task scheduling , not what the tasks do or how they do.<br />
For a command of that kind , you can put it in a php function and call system , exec , passthru or shell_exec.</p>
<p>“To be short this is another example of doing things complicated while it can be done simple.”</p>
<p>&#8212; Its just about managing the task automation. How the task is done is upto the user or the application.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ikke		</title>
		<link>https://www.binarytides.com/php-manage-multiple-cronjobs-with-a-single-crontab-entry/comment-page-1/#comment-65205</link>

		<dc:creator><![CDATA[ikke]]></dc:creator>
		<pubDate>Mon, 13 Feb 2012 03:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/blog/?p=586#comment-65205</guid>

					<description><![CDATA[Yeah, right...
And where do you store the command to be executed, huh?
That needs another function because this only works with bogus commands like &quot;database_backup&quot;.
You still need to define &quot;database_backup&quot; somewhere else.

And what about a complicated command like this one:
/usr/bin/find /home/user/Procmail -name pmlog* -type f -mtime +60 -exec /bin/rm -f {} ;

That´s not going to work ever.

To be short this is another example of doing things complicated while it can be done simple.]]></description>
			<content:encoded><![CDATA[<p>Yeah, right&#8230;<br />
And where do you store the command to be executed, huh?<br />
That needs another function because this only works with bogus commands like &#8220;database_backup&#8221;.<br />
You still need to define &#8220;database_backup&#8221; somewhere else.</p>
<p>And what about a complicated command like this one:<br />
/usr/bin/find /home/user/Procmail -name pmlog* -type f -mtime +60 -exec /bin/rm -f {} ;</p>
<p>That´s not going to work ever.</p>
<p>To be short this is another example of doing things complicated while it can be done simple.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
