prasmussen / chrome-cli

Control Google Chrome from the command line
MIT License
2.61k stars 89 forks source link

Running via cron fails to open presentation mode #24

Open sheeley opened 10 years ago

sheeley commented 10 years ago

When I run chrome-cli (installed via brew, os 10.9.4) in a crontab like so:

@reboot /usr/local/bin/chrome-cli presentation

I've also tried launching and then trying to start presentation mode like so:

@reboot open /Applications/Google\ Chrome.app
@reboot sleep 30 && /usr/local/bin/chrome-cli presentation

But haven't had any luck. It opens Chrome but doesn't start presentation mode. Is there any output given if the command fails? Would love to figure out why this is happening.