How to execute togeojson in ubuntu cronjob
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 322
- PR merge metrics
- No merged PRs in 30d
Description
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 ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the cron entry and the shell file described in the issue, comparing their execution context with the manual command that succeeds. Verify that togeojson produces file.geojson when run by cron, and document the required command or environment details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, shell, ubuntu
- Domain
- cli, devops, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100