jennybc / here_here

I love the here package. Here's why.
313 stars 29 forks source link

Is it possible to use here() scheduling scripts with cron? #19

Open r0bis opened 3 years ago

r0bis commented 3 years ago

If you could possibly clarify this, it would help greatly. My current attempt to use here() is rather naive, I understand. I put the question out on Stackexchange and the essence is - can one find a way to use set_here() and subsequently here() to provide a base-path to all subdirectories to the script. I cannot use projects due to reasons I have explained in the post. I did not want to duplicate the stackexchange post here hence posted the link.

kevin-m-kent commented 3 years ago

I would like to second this (my use case is a windows scheduled script, but same underlying issue). The post referenced above allowed me to move forward with a solution using the home env variable followed by the project name. But it would be great if here::here found the project file even in scheduled scripts (not run interactively). Also, thanks for your work on this project, it's been a real boost to my workflow.