|
I am trying to set up cron jobs to touch files on my server every day. I am hosted on Apache version 1.3.29 (Unix) . The control panel my hosting company provides allows us to add/ edit cron jobs but I can't seem to get it right. I used the simple (dummy) interface that it provided and you had to make selections like Minute Hour Day Month Day of week etc... and it also has a space to type in the command to run. This is what i need help with. What i entered was :
touch /public_html/index.html
It ran at the right time but the log output said something like 'creating /public_html/index.html' No such file or directory.
Im not all that up to par on server lingo but i know when i configured my html editor to upload files i entered ftp.mydomain.com in the FTP spot and for the directory they told me to enter public_html/ .
Anyone have any suggestions? I am on a shared server so should i also be entering my hosting username like this?
touch /mylogin/public_html/index.html
or do i need to include some other command??
Also if anyone knows how to set up a script to touch a list of html files or all html files that would be greatly appreciated as well.
__________________
-Jeoffory Hudson
Your Bottom Drawer
|