mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
fixed test scripts
This commit is contained in:
parent
4b44937540
commit
719a38ca78
6 changed files with 78 additions and 19 deletions
|
@ -426,9 +426,9 @@ sync_cron_jobs() {
|
|||
if [ "$CRON_REPORTS" = 'yes' ]; then
|
||||
echo "MAILTO=$CONTACT" > /var/spool/cron/$user
|
||||
fi
|
||||
while read line ; do
|
||||
while read line; do
|
||||
eval $line
|
||||
if [ "$SUSPENDED" = 'no' ] ; then
|
||||
if [ "$SUSPENDED" = 'no' ]; then
|
||||
echo "$MIN $HOUR $DAY $MONTH $WDAY $CMD" |\
|
||||
sed -e "s/%quote%/'/g" -e "s/%dots%/:/g" |\
|
||||
>> /var/spool/cron/$user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue