vjj
June 12th, 2008, 09:43 AM
Hi,
I have a shared web hosting account at OCS and have managed to get my first ever rails app up and running.
I read that I should clear out old sessions, and the Agile Programmers book recommends that, as I am keeping my session data in the database, I could use script/runner to execute a script (using the updated_at column) as a cron job.
I think I need to know the path to /script/runner. One website suggests "RAILS_ENV=production ./script/runner" ....
Is this the right path for my type of account to do this?
Thanks,
Vickie
I have a shared web hosting account at OCS and have managed to get my first ever rails app up and running.
I read that I should clear out old sessions, and the Agile Programmers book recommends that, as I am keeping my session data in the database, I could use script/runner to execute a script (using the updated_at column) as a cron job.
I think I need to know the path to /script/runner. One website suggests "RAILS_ENV=production ./script/runner" ....
Is this the right path for my type of account to do this?
Thanks,
Vickie