Hi All,

Im attempting to set up a cron job using CPANEL. I can get the location and timing correct, but the script wont run, saying it cant find files i have included. The file itself runs perfectly fine, with no error both onscreen and in the error log.

Any suggestions out there?

Regards

Paul

Is it complaining about your include files ? The current folder is probably different, then when called from the browser. Try issuing a chdir() before including your files, or use absolute paths in your includes.

yes its the include files. Ill try that and see what it does. Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.