• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

cron on bsd and how do i use it

Dark Atheist

Moderator
Staff member
Political User
#1
as topic states - i know where it is as i have just found it :) but unlike linux its not overly clear on how i use it for a per user setting, the crontab in /etc looks to be for root only, but what if i want to use another user to run something? can i or do i place it in that file and just change the name under the who coloum?
 

X-Istence

*
Political User
#2
man crontab

Code:
crontab -e -u <user> # Works only when root
crontab -e # Works as the user you want to set up a crontab for
Do not edit the crontab files by hand.
 

Dark Atheist

Moderator
Staff member
Political User
#3
i forgot about that -e switch - doh, and also forgot to install the man pages when i installed bsd :s - they are in there now though :)
 
#4
the /etc/crontab file is also a nice source for the format of a cronjob. /etc/crontab though is for system scheduling and not user account scheduling
 

Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies