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.

Proper CRON setup
#2
RE: [HOW-TO] Proper CRON setup
If arguments need to be passed that do NOT change, simply make a small php file with an include statement like below and call this new cron file instead.

Example new_cron.php:

PHP Code:
<?php
include('path/filename.php?foo=xxx&bar=xxx');
?>
-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
Proper CRON setup - by TGates - 10-22-2014, 05:44 AM
RE: [HOW-TO] Proper CRON setup - by TGates - 01-31-2015, 03:34 AM
RE: [HOW-TO] Proper CRON setup - by CJsent - 10-16-2017, 12:17 AM
RE: [HOW-TO] Proper CRON setup - by TGates - 10-16-2017, 05:26 AM
RE: [HOW-TO] Proper CRON setup - by Me.B - 01-31-2015, 03:45 AM
RE: [HOW-TO] Proper CRON setup - by TGates - 02-28-2015, 03:55 AM
RE: [HOW-TO] Proper CRON setup - by Me.B - 02-28-2015, 03:59 AM
RE: Proper CRON setup - by johnk42 - 05-14-2018, 12:29 AM
RE: Proper CRON setup - by TGates - 05-15-2018, 12:19 AM
RE: Proper CRON setup - by johnk42 - 05-15-2018, 01:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Ubuntu: How to setup TLS on postfix and dovecot Diablo925 28 113 ,229 02-15-2018, 08:46 PM
Last Post: duane

Forum Jump:


Users browsing this thread: 3 Guest(s)