crontab myfile.txt
loads myfile.txt into the cron table; this is the classic way to load
it.
And if crontab -l shows it, it's there.
crontab -e
won't help him.
Alas, though, I don't know the answer. It works fine for me.
FWIW, here was my test:
Edit .crontab; insert the following (substitute with your user name!):
* * * * * date >> /home/bts/t
crontab .crontab
crontab -l
touch t
tail -f t
If this doesn't work for you, check /var/log/messages and see if it
shows anything.
You probably want to un-do this after you finish . . .
Andrew George wrote:
>
> run crontab -e
> then you get a VI style screen to put in your cron entries
> I'm not even sure what crontab myfile.txt would do
> the entry should go into /var/cron/username
>
> On Wed, 2 Aug 2000, Gavin Clark wrote:
>
> >
> > hi,
> >
> > I can't get cron to work for users.
> >
> > I added /etc/cron.d/cron.deny with no entries
> >
> > I ran #crontab myfile.txt as the user
> > #crontab -l shows it worked
> >
> > 15 * * * * /usr/bin/lynx -dump http://server.com/myscript.php > /dev/null
> >
> > but when the time comes nothing happens.
> >
> > I just want lynx to trigger a php script every minute - every 30 seconds
> > would be better.
> >
> > what's the trick?
> >
> > thanks,
> > Gavin
> >
> >
--
"Brian, the man from babble-on" [EMAIL PROTECTED]
Brian T. Schellenberger http://www.babbleon.org
Support http://www.eff.org. Support decss defendents.
Support http://www.programming-freedom.org. Boycott amazon.com.