fixed errors in docs for crontab
git-svn-id: svn://192.168.202.10@691 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -622,11 +622,11 @@ AST_CRON_mix_recordings_BASIC.pl file in it's place)
|
||||
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
|
||||
|
||||
### remove old recordings more than 7 days old
|
||||
/usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
|
||||
24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
|
||||
|
||||
### remove old vicidial logs and asterisk logs more than 2 days old
|
||||
/usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
|
||||
/usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
|
||||
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
|
||||
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2856,11 +2856,11 @@ AST_CRON_mix_recordings_BASIC.pl file in it's place)
|
||||
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
|
||||
|
||||
### remove old recordings more than 7 days old
|
||||
/usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
|
||||
24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
|
||||
|
||||
### remove old vicidial logs and asterisk logs more than 2 days old
|
||||
/usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
|
||||
/usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
|
||||
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
|
||||
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user