{"id":9190132,"date":"2017-06-02T09:28:50","date_gmt":"2017-06-02T09:28:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/excellent-and-useful-plugin-for-developers\/"},"modified":"2017-06-05T12:41:34","modified_gmt":"2017-06-05T12:41:34","slug":"excellent-and-useful-plugin-for-developers","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/excellent-and-useful-plugin-for-developers\/","title":{"rendered":"Excellent and Useful Plugin for Developers"},"content":{"rendered":"<p>This is a fantastic plugin. I use it in conjunction with the &#8220;SLM Woo Addon&#8221; and &#8220;Software License Manager&#8221; plugins to send emails to users whose license is about to expire. I have no connection to Chris Page or Motocom and therefore have no hesitation in recommending you make a donation for this plugin (see link at bottom right of Cronjob Scheduler).<\/p>\n<p>If you think this plugin is not working I suggest you do the following:<\/p>\n<p>1. Install the &#8220;Code Snippets&#8221; plugin by Shea Bunge and add the following snippet:<br \/>\n\/\/ Test cronjob created by Chris Page<br \/>\nadd_action(&#8216;cronjob_test&#8217;, function () {<br \/>\n    file_put_contents(WP_CONTENT_DIR . &#8216;\/.test.txt&#8217;, &#8220;\\nHit at &#8221; . date(&#8216;Ymd-His&#8217;), FILE_APPEND);<br \/>\n});<\/p>\n<p>2. In the Cronjob Scheduler, which is in Settings, create an Action and name it &#8220;cronjob_test&#8221; with a run time of once every minute.<\/p>\n<p>3. Create a file, .test.txt (including the dot at the start of the filename), in your wp-content folder.<\/p>\n<p>4. Start the snippet and check if information is being written to .test.txt:<br \/>\ne.g. Hit at 20170601-110444<\/p>\n<p>5. If the file is empty, note the information in &#8220;Plugin Details&#8221; (bottom right of Cronjob Scheduler). In particular that you need a cronjob that runs every minute. If you don&#8217;t know how to set up a cronjob, contact your ISP.<\/p>\n<p>6. Remember to stop the Code Snippets cronjob if &#8220;Hit at &#8230;&#8221; is being written to the .test.txt file.<\/p>\n","protected":false},"template":"","class_list":["post-9190132","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9190132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9190132\/revisions"}],"predecessor-version":[{"id":9197901,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9190132\/revisions\/9197901"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9190132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}