Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to execute togeojson in ubuntu cronjob #149

Open
rfinquiron opened this issue Sep 26, 2018 · 1 comment
Open

How to execute togeojson in ubuntu cronjob #149

rfinquiron opened this issue Sep 26, 2018 · 1 comment

Comments

@rfinquiron
Copy link

rfinquiron commented Sep 26, 2018

I have added a cronjob on my ubuntu server
* * * * * togeojson file.kml > file.geojson
But it does not seem to work with the cronjob.

I even tried adding the togeojson command into a shell file and run the shell file as a cronjob. It still fails. If I run it manually it works very well.

Any idea how to make togeojson work as expected when run by a cronjob ?

@andrewharvey
Copy link

Perhaps it's an issue with the user it's run as. If that cronjob is run as root, have you tested that the command can be run by root?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants