1 parent d1ba59b commit 80d2968Copy full SHA for 80d2968
1 file changed
index.html
@@ -981,7 +981,7 @@
981
'cron')
982
header 'crontabs'
983
subh '/etc/crontab'
984
- cat /etc/crontab | grep -vE '^\s*($|#)'
+ cat /etc/crontab | grep -vE '^\s*($|#=)'
985
echo
986
subh '/etc/cron.d'
987
grep . /etc/cron.d/*
@@ -1004,10 +1004,11 @@
1004
for user in $(sudo ls $spool); do
1005
echo "USER: $user"
1006
# Print the crontab, filtering out comments and empty lines for clarity
1007
- crontab -u "$user" -l | grep -vE '^\s*($|#)'
+ crontab -u "$user" -l | grep -vE '^\s*($|#=)'
1008
echo "----------------------------------------------------------"
1009
done
1010
fi
1011
+ echo
1012
get_key
1013
;;
1014
'change passwords')
0 commit comments