jgillick / LendingClubAutoInvestor

A simple command line tool that will automatically invest all cash that becomes available
MIT License
47 stars 21 forks source link

Run on Start-Up #22

Closed Ashkaan closed 10 years ago

Ashkaan commented 10 years ago

I'm trying to get the script to run on start-up, but it does not seem to work properly.

The command:

"lcinvestor start --config=/root/.lcinvestor/investing.json --email=my@email.com --pass=secret --quiet"

works perfectly on the command line. The .log reflects this and updates every 2 minutes as per my settings.yaml.

I put that command at the bottom of my rc.local. When I run lcinvestor status, it says that it's running. However, the .log does not update at all.

What am I missing?

Ashkaan commented 10 years ago

I figured it out.

The command needs to be: "lcinvestor start --config /root/.lcinvestor/investing.json --email=my@email.com --pass=secret --quiet"