# Calculate run=/bin/bash pkg(sys-process/cronie)!=&&pkg(sys-process/vixie-cron)==

origcrontab=/etc/crontab
cfgcrontab1=/etc/._cfg0000_crontab

if [[ -f $cfgcrontab1 ]] && grep "for vixie cron" /etc/crontab &>/dev/null
then
	echo "Need to update /etc/crontab for correct work of cronie" 1>&2
	echo "and reconfigure cronie by command:" 1>&2
	echo "  cl-core-setup --pkg-name cronie" 1>&2
elif grep -q var/spool/cron/lastrun/cron.hourly /etc/crontab && grep -q run-crons /etc/crontab
then
	echo "Using run-crons for cronie may cause to double excecuting anacron tasks" 1>&2
fi

true
