How to make a cronjob execute URL?
#2
RE: How to make a cronjob execute URL?
I believe you are looking for this: #491‍
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:
PHP Code:
<?php
include('admin.php?resetStats=afak12Dkas4412');
?>
And be placed inside your site's root folder (where the main index.php is located)
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply


Messages In This Thread
RE: How to make a cronjob execute URL? - by TGates - 03-08-2017, 11:50 AM
RE: How to make a cronjob execute URL? - by Ron-e - 03-17-2017, 03:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
confused to make an decision please help nscloud 4 11 ,506 09-14-2018, 09:52 AM
Last Post: wormsunited
Make a change in httpd-vhost.conf whitewolf101 2 8 ,734 11-20-2017, 07:28 PM
Last Post: Me.B
How to make Sentora added domains use one name server in registrants zpusr 15 50 ,228 07-06-2017, 05:31 PM
Last Post: abi.atthas151

Forum Jump:


Users browsing this thread: 1 Guest(s)