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
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
if you have access to Cpanel terminal as a non-root user. at first find the
pid
of your processes and then kill them.for example if your process related to python or java write them.
now kill your proccess.
for finding
pid
of your process also you can usetop
command and then typec
from your keyboard and then find your process.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