Page 1 of 1

reboot schedule (script)

PostPosted: Fri Oct 05, 2012 7:53 pm
by zefgan
Can I make a schedule reboot on vicidial scratch install?

Re: reboot schedule (script)

PostPosted: Sat Oct 06, 2012 10:01 pm
by williamconley
Yes, you can. This is a feature of every linux OS. But since we do not know the OS you are using, it would be a bit much to list all the possible variations.

Code: Select all
crontab -e


This configuration file will allow you to create a timed event in most os's. Learn the syntax for its use via google and you'll be good to go.

Oh:

when you post, please post your entire configuration including (but not limited to) your installation method and vicidial version with build.

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "from scratch" you must post your operating system and should also post the .iso version from which you installed your original operating system. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

Re: reboot schedule (script)

PostPosted: Thu Oct 11, 2012 12:18 pm
by zefgan
My OS is OpenSuse

Re: reboot schedule (script)

PostPosted: Sun Oct 14, 2012 4:11 pm
by williamconley
And the rest of it?

Re: reboot schedule (script)

PostPosted: Tue Oct 16, 2012 1:08 pm
by zefgan
scratch install
ViciBox Redux v.3.1.15
OpenSuSE 11

Re: reboot schedule (script)

PostPosted: Tue Oct 16, 2012 8:37 pm
by williamconley
reboot is a function of the OS.

Vicibox installs a reboot line in the "crontab -e" setup, but it is commented out by default. Remove the # from in front of this line, and it will reboot (at 6:30AM if I recall correctly).

Code: Select all
crontab -e


You'll need to use "vi" commands to modify this entry ( :w will save, :q will quit, insert will allow you to edit, escape will stop editing so you can save and quit).

Happy hunting.

Re: reboot schedule (script)

PostPosted: Thu Oct 18, 2012 8:43 am
by zefgan
Thanks williamconley :D

Re: reboot schedule (script)

PostPosted: Mon Apr 24, 2017 8:44 am
by tgalan
If the Restart of the System (reboot) equals to Vicidial service restart? In the case of memory leaks, etc?

Re: reboot schedule (script)

PostPosted: Mon Apr 24, 2017 8:55 am
by mflorell
The issue is mostly with Asterisk actually. It will start to have issues if you never reboot. On low traffic systems, you can go a month without a reboot of a dialer, but on heavy dialing systems you need to reboot nightly.