PFsensse cron diag

Does anyone how to diagnose if a cron job is actually running or not

I have never known it not to be running unless someone modified the system but these commands will show the status:

service cron status
or
ps aux | grep cron

1 Like

do you know if there is a way to run in pfsesense a .sh script directly to test if the script works?

You can run scrips via logging in through SSH or the web interface.
https://docs.netgate.com/pfsense/en/latest/diagnostics/command-prompt.html