I’m trying to use RailsCron but keeping getting an error when I try to
it. I’m a beginner, so please use small words
-bash-2.05b$ rake cron_start
Syntax error: “&” unexpected
The little bit I know about my environment:
- RailsCron installed as a plug in (not gem, cause I’m on a shared host)
- Debian Linux
- rake cron_status returns nothing
- in cron_start, the symbol &> is in the script, but I have no idea how
find out what the symbol means (google doesn’t search symbols well). I
believe this & is what it’s choking on, but I don’t know how to confirm.
I’ve tried running “ruby script/runner ‘RailsCron.start’&”, but my test
method doesn’t seem to execute. The database does seem to get populated
with cron jobs though.
How should I go about debugging this? It seems a bit complicated.
Any help would be appreciated.