Compare commits

..

No commits in common. "9ef3247246c2fbf4a82af1d9e184f4bb4695b558" and "fa6483cf94f9272627ee94659f270ae958ebf63c" have entirely different histories.

View File

@ -3,11 +3,6 @@
# Function to remove all crontab data
crontabClear()
{
# Remove the install user's crontab as root so a stale spool file owned by
# a defunct UID is cleared too — e.g. after the EasyDocker -> LibrePortal
# user rename. The sticky bit on /var/spool/cron/crontabs otherwise stops
# the user replacing a file it doesn't own ("rename: Operation not
# permitted"); setup recreates the crontab as the user next.
sudo crontab -u "$sudo_user_name" -r 2>/dev/null
echo "" | sudo -u $sudo_user_name crontab -
isSuccessful "All crontab data has been deleted."
}