(03-08-2017, 11:50 AM)TGates Wrote: I believe you are looking for this: Proper CRON setup
Second post. Just use a small php file to call the URL you need to run and have the Sentora cron job set to read the custom_cron.php file.
If the cronjob file is on your server, hosted in your site, you do not need to run the URL part.
Your custom_cron.php (from post 2 in the above link) should look like this:
And be placed inside your site's root folder (where the main index.php is located)PHP Code:<?php
include('admin.php?resetStats=afak12Dkas4412');
?>
Yes but the reason there is such a long string of numbers is so people cant randomly guess what the code is to reset stats so if i simply have a php file called cronjobs.php and have "include('admin.php?resetStats=afak12Dkas4412');" inside the php file if anyone runs www.test.com/cronjobs.php in there browser they will reset all points wont they? I need a way for only the cronjob manager to run the script and no one else. Is this something that can be done?