[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Cron/ASP
- Subject: Re: [cobalt-users] Cron/ASP
- From: "Andy Clyde, oxfordmusic.net" <andy.clyde@xxxxxxxxxxxxxxx>
- Date: Mon May 20 21:02:01 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
> >> i'm trying to setup a cron.hourly file to run an asp script. it doesn't
seem
> >> to recognise my script as asp. i'm assuming i need to specify that in
the
> >> cron file but i have no idea how to do this.
> >
> > Disclaimer: I have no ASP experience.
> >
> > With that said, I think the problem is that cron isn't capable of
parsing
> > your asp. If i set up a cron job to run a perl script I have, I would
have
> > to specify what to parse it with.
> > i.e.
<...cut...>
>
> Well, if you don't want to rewrite the asp, just write a simple perl
script
> to call up the asp page via LWP and run the perl via cron as suggested
> above. Here's an example to get you started:
>
<...cut...>
thanks all. i managed to get it running by calling up lynx and running it
through that. for the archives and anyone else with the same problem, here's
my cronjob script:
TERM=vt100
/usr/bin/lynx http://mydomain.com/myscript.asp
easy.
thanks again.
andy