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: 97


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
5,925
Reaction score
4,414
Credits
43,540
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
5,925
Reaction score
4,414
Credits
43,540
Try running it as a crontab job instead of using cron.hourly, does it run then?
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Staff online

Members online


Latest posts

Top