i started a website at which every hour some files are uploaded onto. each dozen of files or so in a different directory. i want to use cron jobs every night to copy those files to a public directory. Every directory has to be copied, except for the public one. I started with a simple piece of code:
I didn’t quite understood Alan22’s version, as i’m not very advanced at PHP, so i tried Hash’s. but when i try to paste that piece of code into the command to run box, an error occurs wich says: [I] Error
Path to the script cannot contain any special symbols or whitespaces
the interface of cron jobs is included as an attachment
i just found out i am not able to change the content of the first box, so alan22’s version isn’t possible. any way there’s a simpler version of php-script with wich it’s possible to copy the directories? I don’t know how to use the above version. maybe anyone can help me?