Displaying 1 result from an estimated 1 matches for "daiily".
Did you mean:
daily
2006 Jul 07
1
Cronjob / .rb help clearing session table (new to cronjobs)
...ght be able to give me a little help.
I have seen a lot of posts that reference setting a cron job to clear
old sessions but I am not clear on:
Can you put the script in the crontask?
If not, should the .rb live anywhere (/username/) or does it have to be
in one of the cron directories (houly/daiily/etc)?
Or can you just run straight SQL out of the crontab (that seems like it
would be the most efficient)?
I saw the "ruby script/runner" reference in a couple of posts. Is this
some other way of solving this problem?
Are there a few ways to solve this problem? Would anyone mind tel...