View Full Version : cronjob help?
can anyone tell me the path i need to enter into the cPanel cronjob config to execute this file?
its driving me nuts.....
see attached....
streety
27-06-2004, 01:41 PM
I have the solution...
Buy a PC :p
its on on my mac fool! its on a server.... :p
streety
27-06-2004, 01:46 PM
Bugger! I thought I was in there with a bit of Mac bashing.
Have you tried searching on Google?
yeah....im stumped i need the genius of a full time linux or unix user....
oh yeah..shall i dress up smart tomorrow?
l33t k1w1
27-06-2004, 08:54 PM
You should be asking your host, not us...
i've bothered my host enough this week...
i feel he needs time off from me
It would have to be in the 'public_html' folder for you to access it through HTTP. When it's in the 'public_html' folder, you should be able to access it by going to www.reality-debug.co.uk/pop.cron.php
yeah. i know that
however it doesnt work like that if its a cronjob its based on unix paths..
thanks anyways
drw25
27-06-2004, 09:07 PM
If you can get console rights, the command you need is "chmod" plus a number plus the filename. If you do a google search for it, I think you'll be able to find the number - go for one that involves execute. I think it's also possible to do it over FTP with the same command, and some graphical FTP clients might tell you which number you need (I know WS_FTP LE does, but that's windows based). I'm not that experienced with the whole website admin thing though, so some people might be able to say something more sensible or useful than this.
Edit: Once the permissions have been set to execute the php file, type its path into your web browser.
Edit2: Trying the path myself, it seems to result in a few errors before the script stops running. Has the server got the right versions of PHP and MySQL installed?
mrikasu
28-06-2004, 07:19 AM
So you just need your absolute path?
It will be something like :
\home\youraccount\cronjob.php
You really just need to ask your host for the correct path though as it changes between hosts.
Sorry if I am misunderstanding.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.