Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using the @reboot option as a root cron to update MongoDB when we do a reboot of a EC2 instance.

The problem I have is MongoDB isn't loaded at the point the cron runs the script.

Where is the best place to run a post MongoDB start on server startup?

share|improve this question
add comment

1 Answer

In the end I used the upstart /etc/init/mongodb.conf file and it worked well.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.