This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to make a cronjob execute URL?
#2
RE: How to make a cronjob execute URL?
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:
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
Thanks given by:


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 8 ,463 09-14-2018, 09:52 AM
Last Post: wormsunited
Make a change in httpd-vhost.conf whitewolf101 2 6 ,790 11-20-2017, 07:28 PM
Last Post: Me.B
How to make Sentora added domains use one name server in registrants zpusr 15 39 ,584 07-06-2017, 05:31 PM
Last Post: abi.atthas151

Forum Jump:


Users browsing this thread: 1 Guest(s)