Re: How do you run custom script with rails ?

Paritosh P.
Mon, 24 Dec 2012 21:48:53 -0000

Frederick Cheung wrote in post #1090089:
> .
>>
>
>> Thanks scott . I will keep this thing in mind .may be i will use
>> deplayedjob or something like that . My motive is to start some script
,
>> it will take hour to finish. In this meantime, a user can also start
>> same process again with different entity or cancel/resume ongoing
>> processes .
>>
>
> If it takes an hour to run you could very easily run out of delayed
> job processes. In addition to using something like childprocess to
> control your child processes, you might want to try if you could write
> a single master process that could use select to multiplex io from all
> of the child processes.
>
> Fred

is it possible to manage processes with rails ? dont say with system
command,something more exclusive ?