How to save crontab -e

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How to save crontab -e

Postby benghoi » Fri Jul 20, 2012 11:14 am

Hi guys,

i need your help in saving crontab...

i want to uncomment this line in crontab:
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3

This is what i did, please advice if it is not the right way:
- type crontab -e
- edit the line to 2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3

- Press ESC once then wq
- Then press ctrl Z to go back to command line

but went icheck thru this command crontab -l, nothing change.

Any idea...?

Thanks!
Vicibox5.0.3 64bit | Vicidial: 2.8-431a | Build: 140314-1134 | Asterisk: 1.8
Full Server
benghoi
 
Posts: 70
Joined: Fri Dec 09, 2011 4:56 pm

Re: How to save crontab -e

Postby KeithHBW » Fri Jul 20, 2012 11:35 am

I am not an expert. But it seems you're able to edit accordingly. After editing I hit escape to leave insert or replace mode then type ":x" + enter to save and exit. That saves and reloads the crontab
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: How to save crontab -e

Postby benghoi » Fri Jul 20, 2012 12:34 pm

its working now. i use this command:
:wq! then enter
Vicibox5.0.3 64bit | Vicidial: 2.8-431a | Build: 140314-1134 | Asterisk: 1.8
Full Server
benghoi
 
Posts: 70
Joined: Fri Dec 09, 2011 4:56 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 133 guests