I am calling a model from cron using script/runner. My call looks like
this :
/usr/local/bin/ruby script/runner -e production
“ProfileBox.updateProfileBoxes”
I need to be able to pass parameters to this model. Something like
this :
/usr/local/bin/ruby script/runner -e production
“ProfileBox.updateProfileBoxes” param1 param2
How can I pass parameters to this model?