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

Re: user cron jobs



On Tue, Feb 01, 2000 at 11:30:56AM -0600, hawk@hawkins.cba.uni.edu wrote:
: 
: I can't seem toget user cron jobs to run on my system.  As I'm reading 
: man 1 and 5 for crontab, I should be able to have the line
: 
: 0,10,20,30,40,50 * * * * ch1quiz /usr/local/bin/updatehw 2>>& $HOME/tmp.quizlog

Try this line:

*/10 *	* * *	ch1quiz /usr/local/bin/updatehw > /home/ch1quiz/tmp.quizlog 2>&1

$HOME won't work out of /etc/crontab - if you want to do that use 

  sudo crontab -u ch1quiz -e

and add the line

  */10 *  * * *   /usr/local/bin/updatehw > /home/ch1quiz/tmp.quizlog 2>&1

HTH,

-- 
Nathan Norman                    Network Magician, Eclectic Engineer
GPG Key ID 1024D/51F98BB7
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7

Attachment: pgp46MMs6gjtW.pgp
Description: PGP signature


Reply to: