I have changed structure of the websites. All the web contents are placed under directory1, and all the symfony contents are placed under directory2
public_html: --directory1: contents of web --directory2: contents of sym, such as apps, lib... the path that I set to symfony is ~public_html/directory2/symfony taskname On Tue, Apr 7, 2009 at 11:27 PM, Ant Cunningham < [email protected]> wrote: > > Is your path/to/symfony the path to the symfony script in your project > root? > > xhe 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 -~----------~----~----~----~------~----~------~--~---
