afaik you can just execute "/path/to/symfonyproject/symfony clearActiveUsers".
The "symfony" file in your project is already doing the path correction. - Dennis 2009/4/8 xhe <[email protected]>: > > 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 -~----------~----~----~----~------~----~------~--~---
