I need to make a cron job using CPanel to run a PHP file that has to include a username and password. Does anyone know how to do this?
I need to make a cron job using CPanel to run a PHP file that has to include a username and password. Does anyone know how to do this?
type
crontab -e
at the command line
or simply use your cpanel to add the log file using the simple format.
I'm not certain, but I think the question is, how do I include variables in the cron job?
I remember I had to figure that out a while back but ended up just putting the variables in the script.