{"id":23047363,"url":"https://github.com/moceanapi/wordpress","last_synced_at":"2026-01-16T00:58:41.460Z","repository":{"id":95927438,"uuid":"431421999","full_name":"MoceanAPI/wordpress","owner":"MoceanAPI","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-25T02:03:46.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-08T17:09:42.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoceanAPI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-24T09:28:56.000Z","updated_at":"2021-11-25T02:03:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"cad7c75a-aec9-44b5-a477-54ec61344d7c","html_url":"https://github.com/MoceanAPI/wordpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fwordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fwordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fwordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoceanAPI%2Fwordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoceanAPI","download_url":"https://codeload.github.com/MoceanAPI/wordpress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927808,"owners_count":20856193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-15T22:33:12.682Z","updated_at":"2026-01-16T00:58:41.424Z","avatar_url":"https://github.com/MoceanAPI.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Configure Cron Job to send Mocean SMS reminders in Wordpress\n============================================================\n\n## Contents\n- [Windows Server](#windows-server)\n- [Linux Distros](#linux-distros)\n- [Shared Hosting](#shared-hosting)\n    - [CPanel](#cpanel)\n    - [Plesk](#plesk)\n    - [Popular Hosting Companies Cron job setup](#popular-hosting-companies-cron-job-setup)\n\n## Windows Server\n1. Login to your Windows Server\n2. Press ```Windows Button``` and search for ```Task Scheduler```\n3. Under ```Action``` tab, click on ```Create Task```\n![image](https://user-images.githubusercontent.com/24620178/143233881-0c2219af-6265-44c3-8741-96e4dc99e26c.png)\n4. Fill in the ```Name```, ```Description```, ```Run whether user is logged on or not```, ```Configured for: The Version you're using```\n![image](https://user-images.githubusercontent.com/24620178/143234368-96e5ac33-fba2-422a-ab50-d67a9dda4ebd.png)\n5. Under ```Trigger``` tab, add a new Trigger and select:\n    ```Begin the task: on a schedule```\n    ```Repeat task every 15 minutes```\n    ```For a duration of indefinitely```\n6. Click ```Ok```\n![image](https://user-images.githubusercontent.com/24620178/143234934-9476918d-8324-43ad-aade-5df7fca2bf74.png)\n7. Open command prompt by hitting ```Windows Button + r```, input ```cmd``` and press enter\n![image](https://user-images.githubusercontent.com/24620178/143235982-3b1f1c02-8fcf-43a8-a09c-20281f047aec.png)\n9. Run this command ```echo curl https://yourdomain.com/wp-cron.php \u003e %userprofile%\\desktop\\cron.bat```. Be sure to replace ```yourdomain.com``` with your ```Domain```.\n![image](https://user-images.githubusercontent.com/24620178/143235708-97616320-e84e-4430-9d6e-65e6e397bf24.png)\n10. Now back to ```Task Scheduler```. Under ```Actions``` tab. Create a new action and browse for the script we created in previous step and press ```OK```\n![image](https://user-images.githubusercontent.com/24620178/143236316-7e802ea2-4f01-4695-9efb-5a757e10db3d.png)\n11. Under ```Settings``` tab, check the box ```Run task as soon as possible after a scheduled start is missed```\n![image](https://user-images.githubusercontent.com/24620178/143237971-ba04afab-e3c4-4485-8eac-ec6e1822810a.png)\n\n\n## Linux Distros\n1. Login to your VPS/VM \n2. execute the command ```crontab -e``` and select the easiest, in our case it's ```1```\n![image](https://user-images.githubusercontent.com/24620178/143241107-d19b881d-4d90-44b7-8dd2-2b412eaa86c0.png)\n3. Go to the bottom of the file and key in ```*/15 * * * * curl https://yourdomain.com/wp-cron.php \u003e /dev/null 2\u003e\u00261```. Be sure to replace ```yourdomain.com``` with your ```Domain```\n4. Press ```Ctrl + O``` then ```Enter``` then ```Ctrl + X```\n\n\n## Shared Hosting\n\n### CPanel\n1. In CPanel, look for Cron Jobs, your UI might be different, but the process is the same\n![image](https://user-images.githubusercontent.com/24620178/143244253-98a34cbe-8a43-42fb-a0bc-3b3c162fc5e0.png)\n2. Ensure your settings is the same as the image below. Be sure to replace ```yourdomain.com``` with your Domain in the command ```curl https://yourdomain.com/wp-cron.php```\n![image](https://user-images.githubusercontent.com/24620178/143244739-0e9441d5-78f8-4eda-afb3-c730cffdef3b.png)\n3. Click on ```Add New Cron job```\n\n### Plesk\n1. Select cronjob under ```Tools \u0026 Settings -\u003e Tools \u0026 Resources -\u003e Scheduled Tasks (Cron Jobs)```\n![image](https://user-images.githubusercontent.com/24620178/143246523-a3cf0f3c-6084-4166-b804-0482b638881f.png)\n2. Click on ```Add Task```\n![image](https://user-images.githubusercontent.com/24620178/143246676-8187f5ce-719e-436a-a48f-45ab886f944e.png)\n3. Make sure your settings are as below and replace ```yourdomain.com``` with your Domain\n    ```\n    Task type: Run a command\n    Command  : curl https://yourdomain.com/wp-cron.php\n    run      : Cron style */15 * * * *\n    ```\n![image](https://user-images.githubusercontent.com/24620178/143247229-38b8d604-7fb6-496a-aad3-0cb7b47d5a52.png)\n4. Click ```OK```\n\n### Popular Hosting Companies Cron job setup\nSet the Cron schedule to ```*/15 * * * *``` (15 minutes every day)\nSet the command to ```curl https://yourdomain.com/wp-cron.php``` (replace ```yourdomain``` with your ```Domain```\n1. GoDaddy https://www.godaddy.com/help/create-cron-jobs-16086\n2. Bluehost https://my.bluehost.com/hosting/help/411\n3. HostGator https://www.hostgator.com/help/article/how-do-i-create-and-delete-a-cron-job\n4. SiteGround https://www.siteground.com/tutorials/cpanel/cron-jobs/\n5. Namecheap https://www.namecheap.com/support/knowledgebase/article.aspx/9453/29/how-to-run-scripts-via-cron-jobs/\n6. Hostinger https://support.hostinger.com/en/articles/1583465-how-to-set-up-a-cron-job-at-hostinger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fwordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoceanapi%2Fwordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoceanapi%2Fwordpress/lists"}