![]() |
|
|
#1
| |||
| |||
|
I am paying with elearning for a friend If I want a cron job what would I put as the path to the cron job manual link to run:: http://www.1550.co.nz/elearn/admin/cron.php (this is a secondary domain 1550.fifteenfifty.com) Thanks |
|
#2
| ||||
| ||||
|
GET http://www.1550.co.nz/elearn/admin/cron.php > /dev/null GET is the command to run the scripts /dev/null makes it so it only sends an email when there is an error. If whatever action the php document performs, I suggest you insert a variable into the link, so the only way it can be executed is if they know the location of the file, and the password (variable) Make it something like GET http://www.1550.co.nz/elearn/admin/cron.php?password=akdj39dk3jd99s9s93kd > /dev/null Then in your php document add: $password=$_GET['password']; if ($password == "akdj39dkjd99s9s93kd") { **INSERT EXISTING SCRIPT CONTENT OF PHP FILE } This way it will only execute if the password is at the end of the link |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |