by callcrazy » Tue Mar 29, 2011 2:13 pm
I wouldn't recommend doing this, but if 15 second intervals is required you could try:
crontab -e
Then modify the line that runs ADMIN_keepalive_ALL.pl
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl; sleep 15; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl; sleep 15; /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
This will run the script every minute, wait 15 seconds after the script returns, run the script again, wait 15 seconds after script returns, run it again. Then at the top of the next minute the process will start again.
Of course this may slow you down, break things, or cause unexpected bahavior with vicidial and goautodial, but that will give you more granular control over the script from cron without doing much else.
I'd say though that it may be best to understand why it's setup every minute and not 15 seconds already and to just expect that instead of speeding the system up. You are making a lot of configurations today, but when running in production you will not be making as many changes that would require 15 seconds over 60.
Vicibox 6.0.4 from .iso | VERSION: 2.12-538a BUILD: 160122-1401 | Asterisk 1.8.32.3-vici | 1xDB, 2xWeb, 7xPBX | Amfeltec Timers | Sangoma/Lyra AMD | Dell Hardware