Jeffrey L. Taylor wrote:
> Quoting Manish Nautiyal <lists@ruby-forum.com>:
>> /mnt/apps/NearbyAd/current/lib/camp.rb
>>
> Try
>
> * * * * * cd /mnt/apps/NearbyAd/current; ./script/runner -e production
> lib/camp.rb
>
> HTH,
> Jeffrey
Thx Jeffrey
Its work.
many many thanks
There are several things in Rails that assumes the current working directory
is somewhere in the Rails application directory structure. For example, the
following works also:
* * * * * cd /mnt/apps/NearbyAd/current/lib; ../script/runner -e production camp.rb