It's simple to setup cron permission. Let's see below.
The following two files play an important role:
- /etc/cron.allow - If this file exists, it must contain your username for you to use cron jobs.
- /etc/cron.deny - If the cron.allow file does not exist but the /etc/cron.deny file does exist then, to use cron jobs, you must not be listed in the /etc/cron.deny file.
Note that if neither of these files exist then, depending on site-dependent configuration parameters, either only the super user can use cron jobs, or all users can use cron jobs.
0 comments:
Post a Comment