I want to start the ubuntu update at night because internet is free at that time. and then kill the process in order to ensure that it does not download anything after 7:00 AM.
Is there any way to know the process ID of the cron job in order to kill it before the process run? Or any other way?
if you are just doing an apt-get update, apt-get upgrade, you can do this