{"id":2155,"date":"2019-12-09T10:58:44","date_gmt":"2019-12-09T10:58:44","guid":{"rendered":"https:\/\/webnus.site\/dox\/?p=2155"},"modified":"2023-11-06T07:08:29","modified_gmt":"2023-11-06T07:08:29","slug":"how-to-set-cron-job-in-mec","status":"publish","type":"knowledgebase","link":"https:\/\/webnus.net\/dox\/modern-events-calendar\/how-to-set-cron-job-in-mec\/","title":{"rendered":"How to Set Cron Job in MEC?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Set_Cron_Job_in_MEC\"><\/span>Set Cron Job in MEC<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To set <a href=\"https:\/\/www.hivelocity.net\/kb\/what-is-cron-job\/\" target=\"_blank\" rel=\"noreferrer noopener\"> Cron Job<\/a> in MEC, check these items :<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Import manually for the first time so the API would be set in MEC.<\/li>\n\n\n\n<li>Go to&nbsp;MEC Settings &gt;&nbsp;Import\/Export &gt;&nbsp;Synchronization Tab, &nbsp;and copy the URL it provides.<\/li>\n\n\n\n<li>Go to your site <a href=\"https:\/\/cpanel.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">CPanel<\/a> and use this URL in cron jobs<\/li>\n<\/ol>\n\n\n\n<p>Please Note:&nbsp;Cron jobs are a feature of CPanel, and you need to contact your host provider to set it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Set_up_Cron_Jobs_on_your_hosts\"><\/span>Set up Cron Jobs on your hosts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you are going to set up Cron Jobs on your hosts, you should contact your hosting provider. Different hosts have different commands for their systems<span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">For example, to set a Cron Jobs in cPanel, run the command as described below:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -q \/command\/<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Cron jobs is a feature of CPanel and you need to contact your host provider to set it.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[49],"class_list":["post-2155","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-knowledge-other"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/comments?post=2155"}],"version-history":[{"count":3,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2155\/revisions"}],"predecessor-version":[{"id":10133,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2155\/revisions\/10133"}],"wp:attachment":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/media?parent=2155"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase_cat?post=2155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}