Home > Mobile >  Deleted cron jobs still running on wordpress website
Deleted cron jobs still running on wordpress website

Time:02-22

I have created some cron jobs in cpanel and deleted. But some of them are still running. How can I find where these are stored and delete them? Can I use Cpanel terminal for this? I’m familiar with linux just not sure which command to use as it’s live site.

CodePudding user response:

With the following command, you can see the list of crons and the items that do not have #(comment) will be executed.

run with the root user or the user you use

 crontab -e

CodePudding user response:

if you have access to Cpanel terminal as a non-root user. at first find the pid of your processes and then kill them.

ps -aux | grep ProcessName

for example if your process related to python or java write them.

kill -9 pid

now kill your proccess.

for finding pid of your process also you can use top command and then type c from your keyboard and then find your process.

  • Related