cant find a cron job
Hi, i have a problem with one cron job that i would like to delete.
I cant remember which file i edited to enabled it and i cant find it to disable it.
The file is a shell script that backups the databases in .sql format in a folder. I know it's running, as every day the folder contains the new backups.
I 've checked the crontab -e and there is no reference for my script.
Also when i run a grep -R "myscript.sh" /etc/* i dont have any results.
Is there anywhere i can look?
I'm using centos 6.6.
thank you in advance,
-
Hello :) Please review the cron entries for the users in the following directory: /var/spool/cron
Thank you.0 -
Checked there too, forgot to mention it above.. The script runs as root as it uses mysqldump to export all databases each one to its own sql file. 0 -
If you cannot find the job in /var/spool/cron/root, then look in each of the following directories: /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly 0 -
] Also when i run a grep -R "myscript.sh" /etc/* i dont have any results. thank you in advance,
i've already checked etc... cant find nothing..0 -
]i've already checked etc... cant find nothing..
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.0 -
Hi, submited it with id : 5856597 Thank you. 0 -
Is it possible you have this script added to the /scripts/postcpbackup file or is it added as a hook (E.g. /usr/local/cpanel/bin/manage_hooks list)? Thank you. 0 -
Hi, thank you for your help, it was in /scripts/postcpbackup 0 -
I am happy to see the issue has been resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
9 comments