i can give u a newbie tip only if the 'expert' guys do not laugh at me :-)

I actually tried to use the cron and crontab files but could not understand 
the format of the crontab file. tried looking into docs but nothing.

So I use kcron now - it lets you define a crontab file - asks cron to use that 
file and run your commands as you and not as root - is you use /etc/crontab 
the task will run as root (that was another problem I faced when I figured 
out the format). kcron will place your personal crontab files in 
/var/spool/cron directory and will have your name but you will be able to see 
them only if you are root.

also i have managed to run 'gui based' programs by setting the DISPLAY 
environment variable.

hope it helps

navin



On Thu, 10 Jan 2002 02:19, Mark D'voo wrote:
> On Thursday 10 January 2002 08:17 am, you wrote:
> > On Wednesday 09 January 2002 06:24 am, Mark D'voo wrote:
> > > I have a bash script that I want run every hour as my regular user, how
> > > do I setup cron to do this?
> > >
> > > mark
> >
> > easiest
> > put the script in the /etc/cron.hourly directory.
>
> hmm, i put it in that directory and it never ran, YES i do have the cron
> daemon running, is there anything special that needs to be in the script ??
> I finally just set it up using gts which seems to work fine
>
> mark
>
> > Gerald


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to