wch / webshot

Take screenshots of web pages from R
http://wch.github.io/webshot/
227 stars 40 forks source link

webshot doesn't take snapshots running as a service #95

Open prildi opened 4 years ago

prildi commented 4 years ago

Hi Wilson,

I set up your webshot tool for an R-script running on a daily basis to take snapshots of a website that changes every day. The setup works perfectly, if I run the script it takes the webshot as it should. Unfortunatly, when I run that script as a service (nssm), I doesn't take snapshots anymore. Everytime I run the Script it works, if the Skript is run as a servie (nssm calls a batch that calls the R script) it fails. Any suggestion to solve it?

wch commented 4 years ago

Sorry, I'm not familiar with nssm and don't have any special insight into the problem.

prildi commented 4 years ago

Thank you for the reply anyway. Reason for not woking might be that the script runs in Rscript.exe and not in Rgui.exe. I keep testing.