autoupdate cron not working

smurfexxeee

New Member
Joined
Jan 21, 2022
Messages
5
Reaction score
0
Credits
33
hi im trying to autoupdate linux with a cron job but it doesnt seem to to work. can anyone tell me why?
 

Attachments

  • Screenshot_4.png
    Screenshot_4.png
    1.3 MB · Views: 68


BoringZombie

Active Member
Joined
Apr 1, 2021
Messages
365
Reaction score
185
Credits
2,510

BoringZombie

Active Member
Joined
Apr 1, 2021
Messages
365
Reaction score
185
Credits
2,510

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,498
Reaction score
3,205
Credits
32,633
autoupdt needs execute permissions.
Code:
sudo chmod +x /etc/cron.hourly/autoupdt
Depending on what distribution you use you can probably configure it somewhere without having to create a cronjob.
 
OP
S

smurfexxeee

New Member
Joined
Jan 21, 2022
Messages
5
Reaction score
0
Credits
33
i tried the code you gave to make it runable but it still doenst work ps im using linux mint
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,498
Reaction score
3,205
Credits
32,633
Try running it as a crontab job instead of using cron.hourly, does it run then?
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top