Jump to content

Recommended Posts

Posted

Hi,

 

I'm searching a way to be able to upgrade System/Firmware using a cron job.

Is there a way to have a non interactive command ?

 

In this sample, process is blocked by apt, because of frontend (I am using unattended-upgrade to maintain the up-to-date).

 

 

Quote

root     23446  0.0  0.2  18732  4920 ?        S    Jun01   0:00  \_ /usr/sbin/CRON -f
root     23450  0.0  0.0   1496   428 ?        Ss   Jun01   0:00  |   \_ /bin/sh -c /usr/sbin/armbian-config main=System selection=Stable
root     23454  0.0  0.1   3784  3168 ?        S    Jun01   0:00  |       \_ /bin/bash /usr/sbin/armbian-config main=System selection=Stable
root     23620  0.0  0.6  15352 12456 ?        S    Jun01   0:02  |           \_ /usr/bin/perl -w /usr/share/debconf/frontend /usr/bin/debconf-apt-progress --
root     23682  0.0  0.2   7636  5692 ?        S    Jun01   0:00  |               \_ /usr/bin/perl -w /usr/bin/debconf-apt-progress -- apt-get update
root     25775  0.0  0.2  18732  4920 ?        S    Jun01   0:00  \_ /usr/sbin/CRON -f
root     25780  0.0  0.0   1496   384 ?        Ss   Jun01   0:00      \_ /bin/sh -c /usr/sbin/armbian-config main=System selection=Firmware
root     25784  0.0  0.1   3784  3180 ?        S    Jun01   0:00          \_ /bin/bash /usr/sbin/armbian-config main=System selection=Firmware
root     26409  0.0  0.6  15236 12524 ?        S    Jun01   0:01              \_ /usr/bin/perl -w /usr/share/debconf/frontend /usr/bin/debconf-apt-progress --
root     26423  0.0  0.2   7652  5692 ?        S    Jun01   0:00                  \_ /usr/bin/perl -w /usr/bin/debconf-apt-progress -- apt-get -o Acquire::Comp

 

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines