A log like a .txt file for each run #872
lEtranger1942
started this conversation in
Ideas
Replies: 1 comment
-
What I ended up doing as a quick workaround is adding a logger to my crontab like this:
Each time the script runs it will write a new log file with the date and hour at which it ran. Leaving this here in case somebody else would like to use it. This only works on Linux, I don't think Windows has crontab |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all let me say this an amazing tool and the amount of work and dedication is amazing.
What would be useful I think would be like a printed log file, like a .txt file which can be overwritten or not each time the scrapper runs.
The reason I am asking for this is because I use the scrapper with a Cron job in Linux. While I can grep in /var/syslogs to see if my Cron job worked, I don't know if it failed or not. Writing a log .txt file each time the scrapper runs which would output the information from the console would be really helpful to see if the job had any errors, downloaded something new or if there was nothing to download.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions