Return to preserve_local_loncapa_cron CVS log | Up to [LON-CAPA] / loncom / cron |
1.1 ! albertel 1: #!/bin/sh ! 2: ! 3: found=`/bin/grep Autoenroll.pl /etc/cron.d/loncapa` ! 4: if [ -n "$found" ]; then ! 5: grep -v 'Autoenroll.pl' loncapa > loncapa.built ! 6: echo "$found" >> loncapa.built ! 7: else ! 8: cp loncapa loncapa.built ! 9: fi