<?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: HowTo: Add Jobs To cron Under Linux or UNIX?</title> <atom:link href="http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: avishay</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-67377</link> <dc:creator>avishay</dc:creator> <pubDate>Sun, 22 Jan 2012 08:34:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-67377</guid> <description>I added a cron job but it doesn&#039;t work. crontab -l shows my script * * * * * /tmp/some_script
pgrep cron shows 1471.
thanks</description> <content:encoded><![CDATA[<p>I added a cron job but it doesn&#8217;t work. crontab -l shows my script * * * * * /tmp/some_script</p><p>pgrep cron shows 1471.<br
/> thanks</p> ]]></content:encoded> </item> <item><title>By: avinash</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-67363</link> <dc:creator>avinash</dc:creator> <pubDate>Sun, 22 Jan 2012 02:30:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-67363</guid> <description>how to create a folder daily using cron job</description> <content:encoded><![CDATA[<p>how to create a folder daily using cron job</p> ]]></content:encoded> </item> <item><title>By: Muhammad Hammad Qadir</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-67249</link> <dc:creator>Muhammad Hammad Qadir</dc:creator> <pubDate>Fri, 20 Jan 2012 08:05:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-67249</guid> <description>Hi every on, I newbie too i want to get a buckup of a folder the file is saved in that folder, I want to know how i can compress that folder like tar and then that compresssed tar file stored on a sperate location by crontab and should done in a 1 day of the week.
Your comments will be appriciated.</description> <content:encoded><![CDATA[<p>Hi every on, I newbie too i want to get a buckup of a folder the file is saved in that folder, I want to know how i can compress that folder like tar and then that compresssed tar file stored on a sperate location by crontab and should done in a 1 day of the week.</p><p>Your comments will be appriciated.</p> ]]></content:encoded> </item> <item><title>By: reena</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-67244</link> <dc:creator>reena</dc:creator> <pubDate>Fri, 20 Jan 2012 06:22:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-67244</guid> <description>Hi i want to diplay a &quot;Hiiiiii &quot; in evry minute by crontab.
So how to do that ? Please give me solution.
Its urgent as i hv no idea at all about cronjob</description> <content:encoded><![CDATA[<p>Hi i want to diplay a &#8220;Hiiiiii &#8221; in evry minute by crontab.<br
/> So how to do that ? Please give me solution.<br
/> Its urgent as i hv no idea at all about cronjob</p> ]]></content:encoded> </item> <item><title>By: Bobby</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-67141</link> <dc:creator>Bobby</dc:creator> <pubDate>Wed, 18 Jan 2012 15:01:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-67141</guid> <description>I am trying to set up a cron job to create a daily mysql back up.  I installed the job as follows:
crontab -e
05 10 * * * /usr/bin/mysqldump --all-databases -u root -p`*password` &#124; gzip -c &gt; /home/db_backup/database_`date +%a`.sql.gz
saved and closed the file
restarted cron daemon
The job will not run.
I verified the command works when run manually, but I am new to using cron.  Any ideas?</description> <content:encoded><![CDATA[<p>I am trying to set up a cron job to create a daily mysql back up.  I installed the job as follows:<br
/> crontab -e<br
/> 05 10 * * * /usr/bin/mysqldump &#8211;all-databases -u root -p`*password` | gzip -c &gt; /home/db_backup/database_`date +%a`.sql.gz<br
/> saved and closed the file<br
/> restarted cron daemon<br
/> The job will not run.</p><p>I verified the command works when run manually, but I am new to using cron.  Any ideas?</p> ]]></content:encoded> </item> <item><title>By: vawani</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-65337</link> <dc:creator>vawani</dc:creator> <pubDate>Thu, 08 Dec 2011 21:33:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-65337</guid> <description>*/5 00-13 * * * </description> <content:encoded><![CDATA[<p>*/5 00-13 * * *</p> ]]></content:encoded> </item> <item><title>By: thiyagi</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-65025</link> <dc:creator>thiyagi</dc:creator> <pubDate>Thu, 01 Dec 2011 06:52:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-65025</guid> <description>thanks, was useful..</description> <content:encoded><![CDATA[<p>thanks, was useful..</p> ]]></content:encoded> </item> <item><title>By: Rubli</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-64574</link> <dc:creator>Rubli</dc:creator> <pubDate>Fri, 18 Nov 2011 10:27:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-64574</guid> <description>Hi,
I have a weblgic server in solaries.I want to take the backup of the log files of my server after a particular period.How can i do that by using cron.</description> <content:encoded><![CDATA[<p>Hi,</p><p> I have a weblgic server in solaries.I want to take the backup of the log files of my server after a particular period.How can i do that by using cron.</p> ]]></content:encoded> </item> <item><title>By: chiks</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-64230</link> <dc:creator>chiks</dc:creator> <pubDate>Tue, 08 Nov 2011 16:01:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-64230</guid> <description>david u know cron job wakes up each and every minute....so u can&#039;t
write a cron script which is supposed to run each and every second.
for that u have to write a script and another one u can schedule a particular job
like 7:30:45.
for dis u have to write a script at 7:30 first.give this script name to a.sh.then....
in unix there s a concept called wrapper script in which u will include the &quot;sleep&quot;
command
write another script called b.sh
in there write
sleep 44 a.sh
then execute it. it will run at 7:30:45</description> <content:encoded><![CDATA[<p>david u know cron job wakes up each and every minute&#8230;.so u can&#8217;t<br
/> write a cron script which is supposed to run each and every second.<br
/> for that u have to write a script and another one u can schedule a particular job<br
/> like 7:30:45.<br
/> for dis u have to write a script at 7:30 first.give this script name to a.sh.then&#8230;.<br
/> in unix there s a concept called wrapper script in which u will include the &#8220;sleep&#8221;<br
/> command<br
/> write another script called b.sh<br
/> in there write<br
/> sleep 44 a.sh<br
/> then execute it. it will run at 7:30:45</p> ]]></content:encoded> </item> <item><title>By: chiks</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-64229</link> <dc:creator>chiks</dc:creator> <pubDate>Tue, 08 Nov 2011 15:49:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-64229</guid> <description>urs is right............but if u r a unix professional then u should follow mine
and  (this is d best way to schedule in every 15 min)
*/15 * * * * /path/to/script.php</description> <content:encoded><![CDATA[<p>urs is right&#8230;&#8230;&#8230;&#8230;but if u r a unix professional then u should follow mine</p><p>and  (this is d best way to schedule in every 15 min)</p><p>*/15 * * * * /path/to/script.php</p> ]]></content:encoded> </item> <item><title>By: Paul Smith</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-63819</link> <dc:creator>Paul Smith</dc:creator> <pubDate>Sun, 23 Oct 2011 03:09:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-63819</guid> <description>Finally a blog with some insight into cron jobs.  I have a question about the email issues.  I have a dedicated server (just learning how to manage) for my websites and host a few of my friends sites on it also.  One of them has a cron job set using cPanel and it reads:
curl -A &quot;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6&quot; -s http://www.hissite.com/billing/coin_cron/invoices.php
However the emails get sent to my server address and not his domain address.  I went into /etc/crontabs but if I change it to his address then all future cronjobs that I wanted to create would go there also, correct?  Not what I want.  How do I change it so he and any future clients emails will be sent to their domain?  Sorry if this is confusing as I am just learning. Thanks in advance.
Paul</description> <content:encoded><![CDATA[<p>Finally a blog with some insight into cron jobs.  I have a question about the email issues.  I have a dedicated server (just learning how to manage) for my websites and host a few of my friends sites on it also.  One of them has a cron job set using cPanel and it reads:<br
/> curl -A &#8220;Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6&#8243; -s <a
href="http://www.hissite.com/billing/coin_cron/invoices.php" rel="nofollow">http://www.hissite.com/billing/coin_cron/invoices.php</a></p><p>However the emails get sent to my server address and not his domain address.  I went into /etc/crontabs but if I change it to his address then all future cronjobs that I wanted to create would go there also, correct?  Not what I want.  How do I change it so he and any future clients emails will be sent to their domain?  Sorry if this is confusing as I am just learning. Thanks in advance.<br
/> Paul</p> ]]></content:encoded> </item> <item><title>By: Dhruv Patel</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-63460</link> <dc:creator>Dhruv Patel</dc:creator> <pubDate>Thu, 13 Oct 2011 07:28:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-63460</guid> <description>For every minute use * * * * * /etc/opensips/monitor_server1.sh</description> <content:encoded><![CDATA[<p>For every minute use * * * * * /etc/opensips/monitor_server1.sh</p> ]]></content:encoded> </item> <item><title>By: anshumantrivedi</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-63167</link> <dc:creator>anshumantrivedi</dc:creator> <pubDate>Wed, 05 Oct 2011 06:44:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-63167</guid> <description>0,15,30,45,60 * * * * /path/to/script.php
you can try this..........</description> <content:encoded><![CDATA[<p>0,15,30,45,60 * * * * /path/to/script.php</p><p>you can try this&#8230;&#8230;&#8230;.</p> ]]></content:encoded> </item> <item><title>By: Pete</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-62885</link> <dc:creator>Pete</dc:creator> <pubDate>Tue, 27 Sep 2011 22:26:44 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-62885</guid> <description>Awesome article.  Love your site, I always get excited to see this.
I *think* there might be a typo for sending emails to a custom address:
MAILTO=&quot;vivek@nixcraft.in&quot;
0 3 * * * /root/backup.sh &gt;/dev/null 2&gt;&amp;1 (&quot;2&gt;&amp;1&quot; seems to disable email).
I&#039;m not 100% sure on that, but I couldn&#039;t get emails delivered until I removed 2&gt;&amp;1.</description> <content:encoded><![CDATA[<p>Awesome article.  Love your site, I always get excited to see this.</p><p>I *think* there might be a typo for sending emails to a custom address:<br
/> MAILTO=&#8221;vivek@nixcraft.in&#8221;<br
/> 0 3 * * * /root/backup.sh &gt;/dev/null 2&gt;&amp;1 (&#8220;2&gt;&amp;1&#8243; seems to disable email).</p><p>I&#8217;m not 100% sure on that, but I couldn&#8217;t get emails delivered until I removed 2&gt;&amp;1.</p> ]]></content:encoded> </item> <item><title>By: Anup</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-62459</link> <dc:creator>Anup</dc:creator> <pubDate>Thu, 15 Sep 2011 17:34:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-62459</guid> <description>Hi,
I&#039;m using VPS with cpx control panel in FREEBSD platform and have root access also thru UNIX command. I need to create a Cron Job schedule for user x to clear his inbox and Junk mail box every day by 3.00 am. How to do it. Also want to create a job for SENDMAIL to restart everyday by 3.15 am. Pls help
Anup</description> <content:encoded><![CDATA[<p>Hi,</p><p>I&#8217;m using VPS with cpx control panel in FREEBSD platform and have root access also thru UNIX command. I need to create a Cron Job schedule for user x to clear his inbox and Junk mail box every day by 3.00 am. How to do it. Also want to create a job for SENDMAIL to restart everyday by 3.15 am. Pls help</p><p>Anup</p> ]]></content:encoded> </item> <item><title>By: MrCompTech</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-62265</link> <dc:creator>MrCompTech</dc:creator> <pubDate>Thu, 08 Sep 2011 16:03:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-62265</guid> <description>@ Ashish
I haven&#039;t tested this but I think this is what you want:
0 22 1-7 3,6,9,12 6
This should run at 22:00 (0 22) but only if it one of the first seven (1-7) days of months Mar, Jun, Sept, Dec (3,6,9,12) and then only if it is a Saturday (6).</description> <content:encoded><![CDATA[<p>@ Ashish<br
/> I haven&#8217;t tested this but I think this is what you want:<br
/> 0 22 1-7 3,6,9,12 6<br
/> This should run at 22:00 (0 22) but only if it one of the first seven (1-7) days of months Mar, Jun, Sept, Dec (3,6,9,12) and then only if it is a Saturday (6).</p> ]]></content:encoded> </item> <item><title>By: Ashish</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-62216</link> <dc:creator>Ashish</dc:creator> <pubDate>Wed, 07 Sep 2011 08:17:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-62216</guid> <description>Hi,
I would like to schedule a crontab entry for a SAP script which should run quarterly, after every three month on Saturday (any weekend) but just one Saturday of the month.
I thought of below entry to be added:
0 22 * 3,6,9,12 6
I doubt bcoz of *, this will run on every Saturday of third month, where as I want to run it just one Saturday of the third month.
Could you please help me to create an entry which fulfil above criteria.
Thanks</description> <content:encoded><![CDATA[<p>Hi,<br
/> I would like to schedule a crontab entry for a SAP script which should run quarterly, after every three month on Saturday (any weekend) but just one Saturday of the month.</p><p>I thought of below entry to be added:</p><p>0 22 * 3,6,9,12 6</p><p>I doubt bcoz of *, this will run on every Saturday of third month, where as I want to run it just one Saturday of the third month.</p><p>Could you please help me to create an entry which fulfil above criteria.<br
/> Thanks</p> ]]></content:encoded> </item> <item><title>By: Jimmy</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-61877</link> <dc:creator>Jimmy</dc:creator> <pubDate>Thu, 25 Aug 2011 10:28:06 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-61877</guid> <description>Old thread, but found this by misstake :)
Think you need to put:
0,15,30,45 * * * * /path/to/script.php
if you want it to execute every 15 minutes.</description> <content:encoded><![CDATA[<p>Old thread, but found this by misstake :)</p><p>Think you need to put:<br
/> 0,15,30,45 * * * * /path/to/script.php</p><p>if you want it to execute every 15 minutes.</p> ]]></content:encoded> </item> <item><title>By: MrCompTech</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-61333</link> <dc:creator>MrCompTech</dc:creator> <pubDate>Fri, 05 Aug 2011 16:47:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-61333</guid> <description>You welcome and if you or anyone has any computer/Internet/technology question I would be happy to answer them at http://mrcomptech.com/index.php/ask-a-technology-question</description> <content:encoded><![CDATA[<p>You welcome and if you or anyone has any computer/Internet/technology question I would be happy to answer them at <a
href="http://mrcomptech.com/index.php/ask-a-technology-question" rel="nofollow">http://mrcomptech.com/index.php/ask-a-technology-question</a></p> ]]></content:encoded> </item> <item><title>By: Lexyz</title><link>http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/#comment-61332</link> <dc:creator>Lexyz</dc:creator> <pubDate>Fri, 05 Aug 2011 16:42:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses.php#comment-61332</guid> <description>Thanks for the help.
I will check this out.
Great!</description> <content:encoded><![CDATA[<p>Thanks for the help.</p><p>I will check this out.</p><p>Great!</p> ]]></content:encoded> </item> </channel> </rss>
