skip to Main Content

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?

Or in which files or database table could they be stored so that I can delete them from there?

3

Answers


  1. 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
    
    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
  3. Please check your WordPress db
    Login into PHPMyAdmin and select your WordPress database
    The wp_options table record that storages cron data (option_name = ‘cron’) in the database and the cron job has disappeared.

    Regards

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search