|
#1
|
||||
|
||||
|
first time i have login to SSH. omg iam afraid that black screen without mouse pointer
![]() Topic: i have enabled from WHM the backup to make it every Tuesday and Friday. but in the whm i dont see option to set the time. So i suppose that a cron job have been created and i must edit it from SSH to set the time. i have login as root to SSH i press crontab -e and iam seeing the following screen... now what i have to do? what line i must edit and how to edit and what to press. i want the time to be set at midnight every Tuesday and Friday please step by step its first time that iam conect to SSH
|
|
#2
|
||||
|
||||
|
In SSH window, as root, you type:
Code:
crontab -e Code:
0 1 * * * /scripts/cpbackup Code:
0 0 * * * /scripts/cpbackup At the bottom you see: Quote:
The weekdays you set in WHM.
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#3
|
||||
|
||||
|
ok ill have make all htese steps and after "Y" it asks file to be write and have many options T: to files, M-B: backup files etc...
shall i press ^T to files? or to dont press ctrl + X and press directly ctrl+0 (write the file to disk) |
|
#4
|
||||
|
||||
|
Hello,
Just hit enter. It will write to the correct file. crontab -e by default uses nano on our servers. So the proper way to save a file is: ctrl-x y enter
__________________
James Lavoy Linux Systems Administrator II || Server Provisioning HostGator.com LLC http://support.hostgator.com |
|
#5
|
||||
|
||||
|
holy shit... i promise to not ender in that black sreen again!!!
i have claustrophobia!!! thank you attached the finales saved file hope i have make it right |
|
#6
|
||||
|
||||
|
Sorry... I've done that thousands of times and it's sort of automatic... so I totally forgot the last part... press ENTER
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need CronJob Help | FreeStar | Shared Hosting Support | 5 | 11-02-2008 04:54 PM |
| Provide examples of CronJob | windyhair | Suggestions | 1 | 01-29-2008 02:44 PM |
| Cronjob error - Please Help | MrCheeks | Shared Hosting Support | 6 | 06-20-2007 10:02 AM |
All times are GMT -5. The time now is 09:45 AM.










