I am looking to see if anyone can point me in the direction of how to remove a Job from “fwconsole job --list” I have remove Endpoint Manager and it is still trying to run wu_alert job (Class: FreePBX\modules\Pms\Job ) but that file is gone. I can not disable the job and it looks like it is causing several of the other jobs to not run when it fails. If I run “fwconsole job --run” I get this:
It seems to me that this was not removed when I uninstalled it. I have tried reinstalling and removing the module and this is still there. That is why I am here hoping smarter minds than my can point to where the reference Jobs are stored.
Sorry, I didnt reply. I did try that as well. There is nothing left to remove and I tried to reinstall it and then delete it. It still will not remove this Job.
fwconsole job --list
mysql asterisk -e "SELECT * FROM cron_jobs"
mysql asterisk -e "DELETE FROM cron_jobs WHERE id=N"
mysql asterisk -e "SELECT * FROM cron_jobs"
fwconsole job --list
should hopefully work (N is of course the ‘id’ of the suspect job)
After reviewing my notes I am pretty sure that this was an issue that had persisted from several major versions ago and I was just unable to find a solution. Dicko’s SQL help was the part I really needed and just got around to asking for help. Thank you both for the assist.