You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then schedule with hickory schedule foo.py --every=10s
Then check the status using hickory status
Expected behavior
Expect the schedule will work and the show the status of all scheduled jobs
Environment:
OS: [Linux] (Windows subsystem linux 2)
Version: [Ubuntu 20.04.1 LTS]
Additional context
When I check status, it shows
Traceback (most recent call last):
File "/home/jake/anaconda3/bin/hickory", line 8, in <module>
sys.exit(main())
File "/home/jake/anaconda3/lib/python3.8/site-packages/hickory/cli.py", line 86, in main
return status()
File "/home/jake/anaconda3/lib/python3.8/site-packages/hickory/cli.py", line 71, in status
return status_systemd()
File "/home/jake/anaconda3/lib/python3.8/site-packages/hickory/systemd.py", line 126, in status_systemd
info_dicts = [_service_info(s) for s in services]
File "/home/jake/anaconda3/lib/python3.8/site-packages/hickory/systemd.py", line 126, in <listcomp>
info_dicts = [_service_info(s) for s in services]
File "/home/jake/anaconda3/lib/python3.8/site-packages/hickory/systemd.py", line 118, in _service_info
state = _find_state(short)
File "/home/jake/anaconda3/lib/python3.8/site-packages/hickory/systemd.py", line 105, in _find_state
state = re.findall("Active: (.*?)\n", status)[0]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Describe the bug
I followed the readme, but did not succeed.
To Reproduce
Create a
foo.py
Then schedule with
hickory schedule foo.py --every=10s
Then check the status using
hickory status
Expected behavior
Expect the schedule will work and the show the status of all scheduled jobs
Environment:
Additional context
When I check status, it shows
The text was updated successfully, but these errors were encountered: