-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cron job results don't appear in the Reporting logs #8
Comments
this looks like some odd permissions issue; can you check the permissions on .csv file where results are stored? |
thanks for the quick response, here's the result couto@sun /usr/local/opnsense/scripts/OPNsense/speedtest]$ ls -la
total 28
drwxr-xr-x 2 root wheel 512 Nov 24 18:22 .
drwxr-xr-x 10 root wheel 512 Nov 24 18:20 ..
-rwxr-xr-x 1 root wheel 1640 Apr 4 2021 install_speedtest.sh
-rwxr-xr-x 1 root wheel 9344 Apr 4 2021 opn_speedtest.py
-rw-r----- 1 root wheel 1326 Nov 26 09:12 speedtest.csv
[couto@sun /usr/local/opnsense/scripts/OPNsense/speedtest]$ I changed the permissions to |
Sorry, I have something to add. So, the next cron job after fixing the file permissions ran perfectly. However the following ones no longer appear on the report page again. The csv file still has the 0755 permission. Im getting the feeling that it's something a bit deeper than simple file permissions. |
Exactly the same issue here... Does anyone have a suggestion? |
@scottini Unfortunately not, I haven't found a solution yet. This bug is annoying enough to make this plugin lose its best feature 😢 |
@Couto, please try to modify your scheduled execution time from something else than 0 or 30 (start and middle of every hour). |
@scottini thanks for the tip, that indeed solved the problem. Which is such a weird workaround! |
@Couto yes, definitely... But with this indication maybe @mihakralj can find an elegant solution! ;) |
I cannot reproduce... |
I've set up a hourly job to run speedtest (reduced to every 30 minutes for debugging).
I can see in the logs that the cron job is being triggered as shown in the second picture.
However, the results of the cronjob are not appearing the Reporting page (in the third picture those are manual runs)
Am I missing something? I admit that I'm a bit newbie with OPNSense, so I can't find the logs detailing what's happening in the cron triggered runs... Any help here would be appreciated, and I can provide more information if you ask.
The text was updated successfully, but these errors were encountered: