how to edit crontab

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

how to edit crontab

Postby fibres » Thu Mar 03, 2011 5:41 pm

Hi guys

I am trying to make some changes to the crontab on our new vicibox systems.

I am new to vicibox and suse having used ubuntu for a few years.

I want to add the reboot script and also our custom version of the recordings delete script which removes ovber a day old original recordings and leaves the mp2's

However when I type crontab -e like I usually do, one of the first lines says do not edit this file, edit the master and reinstall!!

But where is this?

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK

Postby williamconley » Thu Mar 03, 2011 8:58 pm

it says that but it's not required, as this file will not be regenerated (unless kumba has something in zypper that kills it).

there is already a sample script in there (disabled, just need to remove the #) to delete old recordings. it can be adjusted to ignore any folder you actually want to keep them in, but if you read the line you'll probably get that.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby fibres » Mon Mar 07, 2011 4:17 pm

Hi William.

Thanks for the help. Again!!!

I have a custom version of the command I use to only kill old un mp3'd recordings. I just wasnt sure where to put it in the crontab as is said not to use it.

I will make changes there.

Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
fibres
 
Posts: 313
Joined: Sun May 20, 2007 3:12 pm
Location: UK


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 36 guests