/[smecontribs]/rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-crontab_script_fixe.patch
ViewVC logotype

Annotation of /rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-crontab_script_fixe.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri May 6 07:58:15 2016 UTC (8 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-46_el6_sme, smeserver-freepbx-0_1-45_el6_sme, smeserver-freepbx-0_1-40_el6_sme, smeserver-freepbx-0_1-44_el6_sme, smeserver-freepbx-0_1-36_el6_sme, smeserver-freepbx-0_1-42_el6_sme, smeserver-freepbx-0_1-41_el6_sme, smeserver-freepbx-0_1-35_el6_sme, smeserver-freepbx-0_1-43_el6_sme, smeserver-freepbx-0_1-38_el6_sme, smeserver-freepbx-0_1-47_el6_sme, smeserver-freepbx-0_1-37_el6_sme, smeserver-freepbx-0_1-34_el6_sme, smeserver-freepbx-0_1-39_el6_sme
Initial import

1 unnilennium 1.1 --- smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-clean-crontab.crontab_script_fixe 2009-04-11 01:05:23.000000000 +0200
2     +++ smeserver-freepbx-0.1/root/etc/e-smith/events/actions/freepbx-clean-crontab 2009-04-11 01:13:13.000000000 +0200
3     @@ -5,10 +5,11 @@
4     # which means asterisk won't be allowed to open the debug
5     # file /tmp/freepbx_debug.log, and send a email to the admin
6    
7     -crontab -l > /tmp/freepbx_crontab
8     -awk '$0!~/freepbx-cron-scheduler.php/ { print $0 }' /tmp/freepbx_crontab
9     -crontab /tmp/freepbx_crontab
10     -rm /tmp/freepbx_crontab
11     +crontab -l > /tmp/freepbx_old_crontab
12     +awk '$0!~/freepbx-cron-scheduler.php/ { print $0 }' /tmp/freepbx_old_crontab > /tmp/freepbx_new_crontab
13     +crontab /tmp/freepbx_new_crontab
14     +rm -f /tmp/freepbx_old_crontab
15     +rm -f /tmp/freepbx_new_crontab
16    
17     # Now change permissions on /tmp/freepbx_debug.log to be sure
18     # asterisk user has write permission

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed