>../cgi-bin/folder
>But, can I write it like that?
Well, yes and no. the cron tab will accecpt that command, but I don't think it points to your directory structure. You can allways find out - see if cron gets an error, or if it's copied to the correct place. But I think it will give you an error becuase that would be writing to (root)/cgi-bin/folder
Is the command wrapping around to two lines? if your directory tree is long, and it doesn't appear on one line, that could be your problem. This command (and any others later down the road) must appear on one line, if it wraps your server will think it's two seperate commands. If this is the case, use one of the following:
1. open up notepad and type the command there. Here it should stay on one line enless you hit enter. save your notepad file, for this example we'll call it command.txt. Now upload your file to the server. Just place it in your home directory - that's the one you're in when you first login. You should see some other folders like logs, maildir, domain.com. Just put the file right there.
Now, log into telnet/ssh again and type:
"crontab command.txt"
which will import the file into your crontab, overwritting anything already there. You will hopefully get an success installing message back.
2. This method will set the default text editor (nano) to not wrap lines. This way when you edit your crontab you should be able to type out the full line with out it messing this up. You may want to do this one anyways, so you can easly edit your crontab later.
Log into ssh and type:
"nano .bash_profile"
And just add this to the end of that file:
export VISUAL="nano -w"
press ctrl-o to save that file, and ctrl-x to exit nano. Now you should be able to edit the crontab without things wrapping.
Oh, one other thing. I think I didn't explain what the -rf ment that I sigguested you add into your command does. r stands for recursive and f for force. recursive basically means that it will go through and take all files and sub-folders without question, and force gives it a little extra incentive to go ahead and overwrite anything allready there.
-Matttail