install_config_file "$SCRIPT_DIRECTORY/fcrontab" "$INSTALL_ROOT/etc/fcrontab"

mkdir -p /etc/cron.yearly &&
mkdir -p /etc/cron.monthly &&
mkdir -p /etc/cron.weekly &&
mkdir -p /etc/cron.daily &&
mkdir -p /etc/cron.hourly &&
mkdir -p /etc/cron.minutely &&

if ! fcrontab -u systab /etc/fcrontab; then
    echo "fcron version must be at least 2.9.2. Please recast."
    return 1
fi
