Originally Posted by props666999
Is it because the apt-get command is executed only by the root and im a normal user
Either put that in root's crontab with sudo crontab -e -u root
, or put a small script in /etc/cron.hourly
, following the example of files there, or install the cron-apt
package which will do this for you.