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
Copy file name to clipboardExpand all lines: docs/threader.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,12 @@ Once the `.env` file has been created, the `cron` settings can be configured.
34
34
35
35
To create a new entry for the threader job, use `crontab`:
36
36
```
37
-
sudo crontab -e
37
+
crontab -e
38
38
```
39
39
40
40
and add the following entry to the bottom, to run the threader_job.sh every 5 minutes, and direct the output to system logging with the tag `threader`:
Replace `/home/scn/netbot` above with the actual full path to the `threader_job.sh` script on the system.
@@ -79,4 +79,11 @@ To watch the threader logs as they are happening (the above log segment occurs e
79
79
80
80
`tail -f /var/log/syslog | grep threader`
81
81
82
-
will display the latest logs to the console as they occur, and is a convient way to check if the cron is operating at expected. This is where any access or authtentication errors would be displayed.
82
+
will display the latest logs to the console as they occur, and is a convient way to check if the cron is operating at expected. This is where any access or authtentication errors would be displayed.
83
+
84
+
If logs are not showing up in syslog as expected, check the user's mail spool. In this example, the user is `scn`:
85
+
```
86
+
more /var/spool/mail/scn
87
+
```
88
+
89
+
When cron has a critical failure it will attempt to send email, which can be reviewed with the above command.
0 commit comments