renamed crontab.conf to cron.conf

This commit is contained in:
Serghey Rodin 2011-08-14 15:21:26 +03:00
commit 2464b9f47c
8 changed files with 19 additions and 19 deletions

View file

@ -59,7 +59,7 @@ v_str="JOB='$job' MIN='$min' HOUR='$hour' DAY='$day' MONTH='$month"
v_str="$v_str' WDAY='$wday' CMD='$command' SUSPEND='no' DATE='$V_DATE'"
# Adding to crontab
echo "$v_str">>$V_USERS/$user/crontab.conf
echo "$v_str">>$V_USERS/$user/cron.conf
# Sorting jobs by id
sort_cron_jobs

View file

@ -140,7 +140,7 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'no' ]; then
fi
if [ ! -z "$CRON_SYSTEM" ] && [ "$CRON_SYSTEM" != 'no' ]; then
touch $V_USERS/$user/crontab.conf
touch $V_USERS/$user/cron.conf
fi
if [ ! -z "$BACKUP_SYSTEM" ] && [ "$BACKUP_SYSTEM" != 'no' ]; then

View file

@ -59,7 +59,7 @@ v_str="$v_str MONTH='$month' DAY='$day' CMD='$command' SUSPEND='no'"
del_cron_job
# Adding to crontab
echo "$v_str">>$V_USERS/$user/crontab.conf
echo "$v_str">>$V_USERS/$user/cron.conf
# Sorting jobs by id
sort_cron_jobs

View file

@ -36,7 +36,7 @@ is_user_valid
#----------------------------------------------------------#
# Defining config
conf="$V_USERS/$user/crontab.conf"
conf="$V_USERS/$user/cron.conf"
# Defining fileds to select
fields='$JOB $MIN $HOUR $DAY $MONTH $WDAY $CMD $SUSPEND $DATE'

View file

@ -33,7 +33,7 @@ is_user_valid
#----------------------------------------------------------#
# Searching jobs
conf="$V_USERS/$user/crontab.conf"
conf="$V_USERS/$user/cron.conf"
field='$JOB'
search_string="SUSPEND='no'"
jobs=$(cron_clear_search)

View file

@ -33,7 +33,7 @@ is_user_valid
#----------------------------------------------------------#
# Searching jobs
conf="$V_USERS/$user/crontab.conf"
conf="$V_USERS/$user/cron.conf"
field='$JOB'
search_string="SUSPEND='yes'"
jobs=$(cron_clear_search)