Browse Source

/bin/bash

pull/32/head
qo-op 9 months ago
parent
commit
216d937e10
  1. 2
      zen/cron_VRFY.sh

2
zen/cron_VRFY.sh

@ -29,7 +29,7 @@ if [[ ! $crontest ]]; then
[[ ! $(cat /tmp/mycron | grep -F 'SHELL') ]] && echo "SHELL=/bin/bash" >> /tmp/newcron
[[ ! $(cat /tmp/mycron | grep -F 'PATH') ]] && echo "PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" >> /tmp/newcron
cat /tmp/mycron >> /tmp/newcron
echo "* * * * * $MY_PATH/../cron_MINUTE.sh 2>&1>/dev/null" >> /tmp/newcron
echo "* * * * * /bin/bash $MY_PATH/../cron_MINUTE.sh 2>&1>/dev/null" >> /tmp/newcron
crontab /tmp/newcron
else
echo "No operation needed. Your crontab is: " && crontab -l

Loading…
Cancel
Save