Attempting to setup a Cron task that will get personal files via FTP however appears to fail because of file permissions.
Code runs perfect within the browser, ie when apache may be the owner, however fails when Cron runs exactly the same page.
I am presuming this can be a directory/file permission error, if that's the case who must i set your directory owner too for Cron jobs?
Probably Dan's thought will probably be your condition. If however it really works from the browser you may also call the page such as this:
wget -q "http://www.domain.com/path/to/script/script.whatever" >/dev/null 2>&1
should you get errors you are able to take away the >/dev/null 2>&1 part &lifier [in case your current email address is incorporated in the domain administrator account properly] output, including errors should get e-mailed for you.
For the right permissions, don't alter the default plesk ones or else you will get difficulties with normal ftp. Defaults are: everything under httpdocs = ftpuser.psacln anything compiled by php/apache = apache.apache ~ unless of course you're running php like a cgi on that domain,, they will fit in with the ftp user too.
cron jobs will run because the user that produced them. Much more likely than the usual permissions error is really a path error. If you are not indicating full absolute pathways towards the program/script to operate, and also to any files you reference, you will probably have problems as cron will not have a similar
PATH in the atmosphere as Apache does or else you do at the spend prompt.