[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cronjob in user environment




Am 02.09.2008 um 14:42 schrieb michael:

On Tue, 2008-09-02 at 14:18 +0200, Steve S wrote:
Hi all,

I want to run a cronjob in a user's environment (i.e. as this user and
not as root).

The script foo.sh to be run by cron on behalf of the a user (johndoe)
needs some env vars (paths) from that user's ~/.bashrc.

please use the supplied manual:

# man cron

crontab [-u user] { -l | -r | -e }

the -u switch is there to edit a users crontab...

bye,

Michael.

Attachment: PGP.sig
Description: This is a digitally signed message part


Reply to: