you also could write the "php ... " into a shell script, and that script to
use it in cron.

On Wed, Apr 8, 2009 at 7:03 AM, FÁSI Gábor <[email protected]> wrote:

>
> cd /path/to/symfony; php symfony clearActiveUsers
>
> On Wed, Apr 8, 2009 at 04:49, xhe <[email protected]> wrote:
> >
> > Don't know if you have ever met this issue.
> > I want to run sym1.2 task from cron cli environemnt, in windows, I
> > will use
> >
> > php symfony clearActiveUsers
> >
> > But in linux cron, how can we write it? I used this:
> > php /path/to/symfony clearActiveUsers, but whenever I run it out of
> > symfony directory, I got error:
> >
> > Task "clearActiveUsers" is not defined.
> >
> > This can be run under symfony directory, but in cron, how can I set it
> > up?
> >
> > Thanks
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to