suppose user tom is having bunch of scheduled jobs and if add this user in cron.deny. Will this kill any running jobs for that user ?
I know it will deny to schedule jobs but will it stop the running jobs as well ?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Adding a user to
cron.deny will not stop/kill the running job for that user. Adding a user to
cron.deny will only blocks that user from being able to use
crontab command only.
If the /etc/cron.allow file exists, then you must be listed (one user per line) therein in order to be allowed to use this command. If the /etc/cron.allow file does not exist but the /etc/cron.deny file does exist, then you must not be listed in the /etc/cron.deny file in order to use this command.
this command meaning at above is refer to
crontab command itself.