d83fr Posted June 22, 2021 Posted June 22, 2021 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
Werner Posted June 23, 2021 Posted June 23, 2021 At the current time it is not possible to have non-interactive armbian-config. However this might be an idea for
Recommended Posts