Cron not working on my VPS

Avatar
  • Answered
I setup cron into cpanel account of saledekho.com. I tested this cron on other shared hosts and it runs successfully. But here on vps not executing cron jobs. I also setup email to receive cron alerts but can not get.

I tried to check log using ssh client as per instruction on this link
https://www.inmotionhosting.com/support/website/cron-jobs/did-cron-job-run
but client returned an error "no such file or directory"

Please fix this problem asap.
Avatar
johnpaulb-imhs1
Hello, Thank you for contacting us about a cron not working on a VPS. We are happy to help, but will need some additional information. Can you provide an example of the cron or script you are running? Since you are testing on different accounts, the username/file path will change. Did you ensure any full paths included in the scripts/crons are updated? If you have any further questions, feel free to post them below. Thank you, John-Paul