user788171
user788171

Reputation: 17553

crontab entry for individual user

On my RHEL5 box, I have so far set up cron jobs by placing entries in the /etc/crontab file which is for safely reasons, only editable by root.

Are there other ways to set up cron jobs for individual users? Preferably, I would like each user to have their own cron file that they can edit at will without requiring root privileges.

Can this be done?

Upvotes: 1

Views: 1500

Answers (2)

Bhupesh
Bhupesh

Reputation: 1

crontab entry is user specific only. a user can make/schedule its own jobs in crontab or you can say that all files on which user is having access

http://www.weblogitech.com/2015/12/what-is-cron-tab-in-linux-and-unix.html

Upvotes: 0

Trott
Trott

Reputation: 70075

Users can create and edit their own crontabs with crontab -e. They can view their crontab with crontab -l. They can remove their crontab with crontab -r.

man -s1 crontab for more information.

Upvotes: 4

Related Questions