Skip to content

Commit 362deb3

Browse files
authored
Added debugging info to README
1 parent c623a3a commit 362deb3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,9 @@ Here is a sample crontab that will run the gen_data.sh script every minute (sub-
8282
# Added by Joe User on 4 Dec 2019
8383
* * * * * /path/to/qstat_cache/gen_data.sh
8484
```
85+
86+
## Debugging
87+
88+
There are two environment variables you may set to assist in debugging. Setting `QSCACHE_DEBUG` to `true` will cause qstat to print the error stream from the cache read command if it fails (otherwise this output is suppressed). It will also print the age of the cache, assuming it can be found.
89+
90+
If you set `QSCACHE_BYPASS` to `true`, the cache will be bypassed regardless of which options are set, and the scheduler version of qstat will instead be called.

0 commit comments

Comments
 (0)