Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Cron > Tips & Troubleshooting #169

Closed
moltar opened this issue Apr 16, 2017 · 2 comments
Closed

Cron > Tips & Troubleshooting #169

moltar opened this issue Apr 16, 2017 · 2 comments

Comments

@moltar
Copy link

moltar commented Apr 16, 2017

Under "Tips & Troubleshooting" section, there is an example of how to pipe cron output to a file:

To assist in troubleshooting cron issues, you can pipe the output of each cron job to a specific file by adding something like >/path/to/somefile.log 2>&1 at the end of the cron job.

But this would overwrite the log on every cron run, which isn't too useful. Better to use >> to append log.

@escopecz
Copy link
Member

Thanks for pointing it out! Would you be able to update the docs?

@moltar
Copy link
Author

moltar commented Apr 17, 2017

Done.

escopecz added a commit that referenced this issue Aug 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants