Cron quotacheck
Posted: Mon Nov 30, 2015 8:15 am
When manually running cron it returns:
executing /etc/cron.daily/quotacheck
/etc/cron.daily/quotacheck:
run-parts: failed to exec /etc/cron.daily/quotacheck: Exec format error
run-parts: /etc/cron.daily/quotacheck exited with return code 1
Adding t#!/bin/sh to /etc/cron.daily/quotacheck solved this part.
Next it retuns this:
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
run-parts: /etc/cron.daily/quotacheck exited with return code 6
Is there any harm in adding the -f parameter?
executing /etc/cron.daily/quotacheck
/etc/cron.daily/quotacheck:
run-parts: failed to exec /etc/cron.daily/quotacheck: Exec format error
run-parts: /etc/cron.daily/quotacheck exited with return code 1
Adding t#!/bin/sh to /etc/cron.daily/quotacheck solved this part.
Next it retuns this:
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
run-parts: /etc/cron.daily/quotacheck exited with return code 6
Is there any harm in adding the -f parameter?