RE: [SMARTY-DEV] Re: [SMARTY] Cache cleanup
| From: | Gary Loescher | Date: | Mon, 17 Jun 2002 20:51:55 +0000 |
| Subject: | RE: [SMARTY-DEV] Re: [SMARTY] Cache cleanup | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-157@lists.php.net to get a copy of this message | ||
It's possible to set up the scheduler service to
call the command-line PHP executable along with a
cleanup script.
I've used the scheduler to do some unattended
MySQL command-line queries as well as run some
PHP stuff. It works well as long as you remember
to tell it where the php.ini file is (or use a
different one tailored for command-line scripts).
Gary
> -----Original Message-----
> From: Jason Sweat [mailto:jsweat_php@yahoo.com]
> Sent: Monday, June 17, 2002 3:24 PM
> To: peter@mapledesign.co.uk
> Cc: smarty-dev@lists.php.net
> Subject: RE: [SMARTY-DEV] Re: [SMARTY] Cache cleanup
>
> I am not 100% sure, but there should be a windows
> version of curl, or something similar, that you could
> combine with the scheduler service to do something
> similar in windows. Worst case, curl does work from a
> cygwin environment.
>
> Jason
>
> P.S. I have something similar, in that I use cron'd
> scripts to override the cache feature and "freshen"
> the content periodically, so that my script has to
> endure the db query time, not some poor unsuspecting
> user :)