Hi
I've setup a script to update a few apps on my server, then added it to my crontab, after testing it was all fine.
I forgot to add the reboot command at the end of the script, so I went in and edited the script file and saved it.
running the script manually works fine with the reboot at the end, but cron seems to be running the older version of the script without the reboot.
I've tried rebooting the server manually, and stoping and restarting the cron service.. but it's still not picked up the changed script.
I've just tried editing the cron job itself, with sudo crontab -e and saving the file, would that make the cron run the new version of the script?
It's a weekly run job, so I guess I have to wait a week to find out..
I've setup a script to update a few apps on my server, then added it to my crontab, after testing it was all fine.
I forgot to add the reboot command at the end of the script, so I went in and edited the script file and saved it.
running the script manually works fine with the reboot at the end, but cron seems to be running the older version of the script without the reboot.
I've tried rebooting the server manually, and stoping and restarting the cron service.. but it's still not picked up the changed script.
I've just tried editing the cron job itself, with sudo crontab -e and saving the file, would that make the cron run the new version of the script?
It's a weekly run job, so I guess I have to wait a week to find out..