[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Cron jobs
- Subject: Re: [cobalt-users] Cron jobs
- From: "Carrie Bartkowiak" <ravencarrie@xxxxxxxx>
- Date: Sun Feb 11 02:32:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> How do i make a cron job??
>
> I have ftp-ed two .pl files to cron.quarter-hourly (that does mean they
> should execute every 15 mins right??)
>
> But they don't seem to do anything, when i execute them by hand they work
> fine though, do i need to do anything else??
Make sure they're chmod to 755.
I'll make a guess here and say that you're attempting to use Moritz's signup
scripts.
If you are, you have to make sure the two files are owned by root. Also,
since account.pl comes first alphabetically, the server will run it before
running createaccount.pl. So it will take half an hour to get the account to
show up like it should. (Two fifteen-minute periods.)
A workaround is to stick account.pl's code on the end of createaccount.pl
and just have the one file in cron.quarter-hourly.
Of course, if these aren't the 'two scripts' you're talking about, ignore
everything after 'chmod to 755'... <grin>
Carrie