Is it possible?

Hello Guys,
I have a requirement in which a cron will run everyday and a rake file will execute along with rake file i need to javascript function so just wanted to know is there any way i can run a javascript.

Abhishek Shukla

Helloo Abhishek,

You want to take a look at what the guys did over at Aptana:

Good luck,


Is there any reason you can't convert the javascript to Ruby?

Hello Bill,
Basically i am calling a third party javascript api after a signup action. And we have a monthly renewal of account as well which execute through a rake command and even that time i’ll need to run this Javascript api :frowning:

You don't "run" an api.

What action is being invoked, and where is it supposed to take place?