0
votes
1answer
30 views

How to run a launchd task every weekend once?

I am trying to run a ruby program as a cron. I have figured out how to run the ruby program from a launchd The problem is that I don't know how to say "Run the job once every Sunday". Below is my ...
1
vote
2answers
654 views

How do I run a rake task in cron under a different user?

I'm trying to run a backup script on ubuntu. My problem is that I'm trying to do this using the postgres user account that I setup on ubuntu. I believe having this account run the cron jobs is best ...
2
votes
1answer
361 views

How do I ensure a process is running, even if it kills itself? (it needs to be restarted then)

I'm using linux. I want a process (an irc bot) to run every time I start the computer. But I've got a problem: The network is bad and it disconnects often, so I need to manually restart the bot a few ...
2
votes
4answers
3k views

how do i run a script 5mn after startup?

I have severals RoR websites running on my webserver and I need to run a ruby script at startup. So, I puted a bash script in /etc/init.d witch call a ruby process. Unfortunatly that ruby process ...
0
votes
1answer
487 views

“Permission denied” when trying to use RVM with Cron

I am trying to employ the method descibed here. My crontab: # m h dom mon dow command @reboot /home/qe2user/.rvm/environments/ruby-1.9.3-p125 /home/qe2user/Ruby/test/prog.rb > ...