crontab entry delete

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

crontab entry delete

Postby viciflash » Thu Jun 09, 2011 9:51 am

can someone post me the crontab entries of root, default?

i think my crontab for root got deleted. i am getting the error time sync. i noticed that crontab entries is no longer present.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby williamconley » Thu Jun 09, 2011 10:12 am

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: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby viciflash » Thu Jun 09, 2011 10:58 am

thanks i've seen it as well. will there be any issues?

anyway i'll try to install a new one to copy the orig settings.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby viciflash » Thu Jun 09, 2011 5:55 pm

and what would be the reason why the cron got deleted?
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby viciflash » Wed Jun 22, 2011 4:44 pm

i just experience this again last night. crontab entries got removed.

so i had to put it back again from the backup.

why is this happening?
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby viciflash » Thu Jun 23, 2011 10:33 am

no one experience this yet?
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby gardo » Fri Jun 24, 2011 2:39 pm

The crontab entries don't delete themselves. Who else has access to your server?
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby viciflash » Sat Jun 25, 2011 3:26 am

only 3 of us knows the password. so im wondering why it got deleted. and then after i restored the original cron entry, auto dial no longer works. i tried using the one posted in the ubuntu scratch install and works fine.

i haven't compared the differences of the two but im sure the orig is no longer working. i might redo this server and keep it more secure :( hopefully.
GoAutoDial 2.0CE - standard install
Asterisk: 1.4.27.1-1
Vicidial: 2.2.1-237
Build: 100510-2015
Telephony cards: none
viciflash
 
Posts: 148
Joined: Sat Feb 19, 2011 3:23 am

Postby cristian » Sat Jun 25, 2011 4:03 pm

This happened to me once a _long_ time ago. The box didn't have access to a public IP route so it wasn't a security issue.

Never figured it out. I think I did a "chmod a=r" to the chrontab, didn't happen again.
Conor C. -- Southskies.com -- (888) 700-1500
Premium provider for regulated industries :: $256/hr :: USA, Arizona
cristian
 
Posts: 218
Joined: Tue Mar 31, 2009 4:41 am

Postby williamconley » Sun Jun 26, 2011 11:51 am

I've seen this on the forums a few times. I think it may have to do with a crontab -e bug / hiccup that may happen from time to time (or possibly inexperienced users with vi?). Each time it has happened it has been a very new user completely inexperienced with Linux.

typing "history" may give a hint of the last person who used crontab -e (and based on other command line choices to determine what else was going on, you may find that was the last time the system worked as well).

BUT: I'm just guessing, never had direct accss to a machine immediately after it happened.
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: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby cristian » Sun Jun 26, 2011 5:36 pm

Are you calling me a noob Bill? :wink:
Conor C. -- Southskies.com -- (888) 700-1500
Premium provider for regulated industries :: $256/hr :: USA, Arizona
cristian
 
Posts: 218
Joined: Tue Mar 31, 2009 4:41 am

Postby williamconley » Sun Jun 26, 2011 11:39 pm

are you saying you've never been one? 8) (We all started somewhere, except Matt, he was born here)

cristian wrote:This happened to me once a _long_ time ago.
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: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby cristian » Mon Jun 27, 2011 1:48 am

LOL
Conor C. -- Southskies.com -- (888) 700-1500
Premium provider for regulated industries :: $256/hr :: USA, Arizona
cristian
 
Posts: 218
Joined: Tue Mar 31, 2009 4:41 am

Re: crontab entry delete

Postby pagmasakpan » Fri Apr 27, 2012 8:50 pm

does anyone here can give me sample of code in your crontab in vicidial

coz i need to rebuild my crontab so that it will update it again my system.


thanks!

VERSION: 2.4-309a
BUILD: 110430-1642
Asterisk Version: 1.4.38-vici
Single Server

Model: Intel Xeon CPU x3430
Installtion: .iso installation of goautodial
OS: Centos
VERSION: 2.4-309a
BUILD: 110430-1642
Asterisk Version: 1.4.38-vici
Goautodial.iso installation(version 2.1)
Single Server
pagmasakpan
 
Posts: 102
Joined: Mon Aug 08, 2011 7:44 am

Re: crontab entry delete

Postby zerocool » Sun Apr 25, 2021 2:59 pm

### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

### Compress log files and remove the really old ones
25 2 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +1 -print | grep -v \.gz | xargs gzip -9 >/dev/null 2>&1
30 2 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime 1 -print | grep -v \.gz | xargs gzip -9 >/dev/null 2>&1
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +30 -print | xargs rm -f
30 0 * * * /usr/bin/find / -maxdepth 1 -name "screenlog.0*" -mtime +30 -print | xargs rm -f

### fix the vicidial_agent_log once every hour and the full day run at night
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
50 0 * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --last-24hours
## uncomment below if using QueueMetrics
#*/5 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl --only-qm-live-call-check

### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q

### adjust the GMT offset for the leads in the vicidial_list table
1 1,7 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --list-settings

### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl

### VICIDIAL agent time log weekly and daily summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
22 0 * * * /usr/share/astguiclient/AST_agent_day.pl

### VICIDIAL campaign export scripts (OPTIONAL)
#32 0 * * * /usr/share/astguiclient/AST_VDsales_export.pl
#42 0 * * * /usr/share/astguiclient/AST_sourceID_summary_export.pl

### inventory report optional
#1 7 * * * /usr/share/astguiclient/AST_dialer_inventory_snapshot.pl -q --override-24hours

### roll logs monthly on high-volume dialing systems
#30 1 1 * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl

### roll call_log and vicidial_log_extended daily on very high-volume dialing systems
#20 1 * * * /usr/share/astguiclient/ADMIN_archive_log_tables.pl --daily

## uncomment below if using Vtiger
#1 1 * * * /usr/share/astguiclient/Vtiger_optimize_all_tables.pl --quiet

# cleanup of the scheduled callback records
25 0 * * * /usr/share/astguiclient/AST_DB_dead_cb_purge.pl --purge-non-cb --quiet
# removal of duplicate scheduled callback records
#35 0 * * * /usr/share/astguiclient/AST_DB_dead_cb_purge.pl --purge-non-cb --remove-dup-cb --quiet

### inbound email parser should only be active on a single server
* * * * * /usr/share/astguiclient/AST_inbound_email_parser.pl

### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q
35 2 * * * /usr/bin/find /var/log/asterisk -maxdepth 1 -type f -mtime +1 -print | grep -v \.gz | xargs gzip -9 >/dev/null 2>&1
40 2 * * * /usr/bin/find /var/log/asterisk -maxdepth 1 -type f -mtime 1 -print | grep -v \.gz | xargs gzip -9 >/dev/null 2>&1
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +30 -print | xargs rm -f

### recording mixing/compressing/ftping scripts
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#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
#0 1 * * * /usr/share/astguiclient/AST_CRON_audio_4_ftp2.pl --ftp-server=server.ip --ftp-login=user --ftp-pass=pass --ftp-directory=/ --ftp-persistent --ftp-validate --transfer-limit=100000 --list-limit=100000

### remove old recordings more than 7 days old, and delete originals after 1 day
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
24 1 * * * /usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +1 -print | xargs rm -f

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### Reboot nightly to manage asterisk issues and memory leaks - uncomment if issues arise
#30 6 * * * /sbin/reboot

### remove text to speech file more than 4 days old
#20 0 * * * /usr/bin/find /var/lib/asterisk/sounds/tts/ -maxdepth 2 -type f -mtime +4 -print | xargs rm -f

## uncomment below if you want to log agent phone_ip
#*/5 * * * * /usr/share/astguiclient/AST_phone_update.pl --agent-lookup
zerocool
 
Posts: 8
Joined: Fri Feb 28, 2020 6:50 am

Re: crontab entry delete

Postby carpenox » Sun Apr 25, 2021 5:01 pm

this happens when u use the vicibox-certbot script on older vicibox9 iso's, but since this is in the goautodial forum im gonna guess that doesnt apply here
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 16 guests