{"id":57,"date":"2008-02-01T19:58:32","date_gmt":"2008-02-01T19:58:32","guid":{"rendered":"http:\/\/hosting-marketers.com\/news\/2008\/02\/01\/cron-tutorial-crontab-tutorial\/"},"modified":"2010-08-23T13:30:09","modified_gmt":"2010-08-23T13:30:09","slug":"cron-tutorial-crontab-tutorial","status":"publish","type":"post","link":"https:\/\/hosting-marketers.com\/news\/2008\/02\/01\/cron-tutorial-crontab-tutorial\/","title":{"rendered":"Cron Tutorial (Crontab Tutorial)"},"content":{"rendered":"<p><strong>What is cron?<\/strong><\/p>\n<p>Actually it is called &#8216;cron daemon&#8217;. Cron is an automatic task machine. You will use it on your Unix or Linux operating systems for doing some tasks at specific intervals with out your intervention every time. You set the clock and forget. The cron daemon runs the work for you.<\/p>\n<p>What is cron tab?<\/p>\n<p>&#8216;Cron tab(CRON TABle)&#8217; is a text file that contains a series of cron functions.<\/p>\n<p><strong>What cron will do for you?<\/strong><\/p>\n<p>&gt;&gt;&gt;If you want to send your email cources to your subscribers at 11.30 night, you will set the cron job on your server.And your cron manager sends the one email every day at 11.30 until all the emails will be finished.<\/p>\n<p>If you want to send them on Sundays, you can schedule it with your cron.<\/p>\n<p>&gt;&gt;&gt;You can schedule it to delete your website members with expired accounts.<\/p>\n<p>&gt;&gt;&gt;You can schedule it to recieve an update on your subscribers from your mailing list manager.<\/p>\n<p>&gt;&gt;&gt;You can check your links on other websites in link exchange programms.<\/p>\n<p>Now if you want to setup a cron job at Hosting Marketers servers, login to your cpanel, go to Cron Jobs, click Standard,<\/p>\n<p>select how you are going to run, once a day, every minute, once a week, what ever, this is the easy part&#8230;.<br \/>\nWe recommend that you dont use anything less then every 30 minutes, imagine that you going to send emails every 1 minute? we will termiante your account before you can say, &#8220;WHY!&#8221;<br \/>\nSo make your selection then use this command:<\/p>\n<p>\/usr\/bin\/php -q \/home\/myusername\/public_html\/cron.php<\/p>\n<p>mysername is your cpanel username and cron.php is the file you need to run.<\/p>\n<p>Simple no?<\/p>\n<p>But if for example instead of using the full path you want to use the url, ex. http:\/\/domain.com\/cron.php<\/p>\n<p>then it is better to use Curl.<\/p>\n<p>Curl is a text based browser that is installed in most hosting environments.<\/p>\n<p>curl http:\/\/domain.com\/cron.php<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>What is cron? Actually it is called &#8216;cron daemon&#8217;. Cron is an automatic task machine. You will use it on your Unix or Linux operating systems for doing some tasks at specific intervals with out your intervention every time. You set the clock and forget. The cron daemon runs the work for you. What is [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9,10],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-cron-jobs","category-crontab"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9Yxzd-V","jetpack-related-posts":[{"id":539,"url":"https:\/\/hosting-marketers.com\/news\/2015\/09\/01\/node-js-some-information\/","url_meta":{"origin":57,"position":0},"title":"Node.js some information","author":"Admin","date":"September 1, 2015","format":false,"excerpt":"As third-party software, Hosting Marketers does not support node.js beyond installation. All our servers have node.js installed, but you need to configure it on your account, for that we need to know which port you using for the node, and you will need to create cron job and a bash\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":694,"url":"https:\/\/hosting-marketers.com\/news\/2018\/09\/01\/how-to-setup-roku-with-wowza-streaming-engine-and-hosting-marketers\/","url_meta":{"origin":57,"position":1},"title":"How to setup Roku with Wowza Streaming Engine and Hosting Marketers","author":"Admin","date":"September 1, 2018","format":false,"excerpt":"Many of our clients ask how to put their live stream on Roku like a regular TV channel. The good news is you can do it with your Hosting Marketers streaming service using a small Roku app that plays your HLS (.m3u8) link. Below is the exact process, start to\u2026","rel":"","context":"In &quot;Roku Channel Setup&quot;","block_context":{"text":"Roku Channel Setup","link":"https:\/\/hosting-marketers.com\/news\/category\/roku-channel-setup\/"},"img":{"alt_text":"How to stream from Wowza to your own Roku channel","src":"https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2018\/09\/ChatGPT-Image-Oct-26-2025-02_39_48-PM.png?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2018\/09\/ChatGPT-Image-Oct-26-2025-02_39_48-PM.png?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2018\/09\/ChatGPT-Image-Oct-26-2025-02_39_48-PM.png?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2018\/09\/ChatGPT-Image-Oct-26-2025-02_39_48-PM.png?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":607,"url":"https:\/\/hosting-marketers.com\/news\/2017\/07\/07\/tv-station-setup-on-our-wowza-control-panel\/","url_meta":{"origin":57,"position":2},"title":"TV Station setup on our wowza control panel","author":"Admin","date":"July 7, 2017","format":false,"excerpt":"After you order TV Station you will receive an email with the link to the wowza control panel and login information, login to the control panel click on the overview icon\u00c2\u00a0 and you enter your service overview: click on the image to see the full picture. There are a number\u2026","rel":"","context":"In &quot;wowza tv station&quot;","block_context":{"text":"wowza tv station","link":"https:\/\/hosting-marketers.com\/news\/category\/wowza-tv-station\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2017\/07\/overview-1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":112,"url":"https:\/\/hosting-marketers.com\/news\/2009\/09\/22\/red5-tutorial-and-red5-hosting\/","url_meta":{"origin":57,"position":3},"title":"Red5 Tutorial and Red5 Hosting","author":"Admin","date":"September 22, 2009","format":false,"excerpt":"Red 5 is a pretty amazing server software written in java. The Red 5 development team has put in tons of effort to make it a open source alternative to Adobe FMS ? Flash Media Server. Red 5 is a perfectly suitable technology for ?Video On Demand? applications, streaming, publishing,\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1050,"url":"https:\/\/hosting-marketers.com\/news\/2021\/06\/02\/deploy-node-js-on-our-shared-servers\/","url_meta":{"origin":57,"position":4},"title":"Deploy Node.js on our shared servers","author":"Admin","date":"June 2, 2021","format":false,"excerpt":"[et_pb_section][et_pb_row][et_pb_column type=\"4_4\"][et_pb_text] Version Control with Git Before we can\u00a0configure your Node.js application, the first step is getting that application on your server. There are a few options. You can use FTP to upload the copy of your application to your server, or you can use cPanel\u00e2\u20ac\u2122s native Git support to\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":381,"url":"https:\/\/hosting-marketers.com\/news\/2013\/01\/28\/how-to-broadcast-live-instructions\/","url_meta":{"origin":57,"position":5},"title":"How to broadcast live, instructions!","author":"Admin","date":"January 28, 2013","format":false,"excerpt":"You are assigned a RTMP, which will look like the one below rtmp:\/\/169.161.42.114\/oflademo31123 Before we start first you must take a look at our video tutorial: http:\/\/hosting-marketers.com\/news\/2012\/02\/20\/how-to-broadcast-live-with-fmle\/ you need to download and install an encoder on your computer, is it windows? then use this link to download: http:\/\/hosting-marketers.com\/flashmedialiveencoder_3.2_wwe_signed.msi check how\u2026","rel":"","context":"In &quot;how to broadcast live&quot;","block_context":{"text":"how to broadcast live","link":"https:\/\/hosting-marketers.com\/news\/category\/how-to-broadcast-live\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":3,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":159,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/57\/revisions\/159"}],"wp:attachment":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}