Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way that you can run a script, without a user having to access it

Replies are listed 'Best First'.
Re: Running Scripts Without Users
by egabriel (Initiate) on Apr 26, 2000 at 22:08 UTC
    Your question is difficult to answer, because it could be interpreted many ways. If what you mean though, is say, a user hitting http://www.foo.com/, and you want a counter to get updated, for instance... no cgi script has apparently been run; the user has hit no buttons... This can be done with server side includes. You need to talk to your web server administrator, or if you are that person, read up on SSI...
Re: Running Scripts Without Users
by btrott (Parson) on Apr 25, 2000 at 23:07 UTC
    I assume you're talking about a CGI script? :)

    You can run it from the command line, or from a cron job. Or you could write a cron job to fetch the CGI script with LWP. :) I suppose that's actually a user accessing it, though.

    These are just some of the options. If your question were a bit more clear, you might get better answers.

A reply falls below the community's threshold of quality. You may see it by logging in.
A reply falls below the community's threshold of quality. You may see it by logging in.