14

Trying to resolving the bug for KWORKERS HIGH CPU, as suggested in this answer. I put in my crontab the row:

@reboot echo "disable" > /sys/firmware/acpi/interrupts/gpe06

After the reboot, the system doesn't start. Also in single user mode it doesn't start.

I rebooted my PC with the option:

init=/bin/bash

and I removed the row in the root crontab but the system doesn't start.

3 Answers3

1

The simplest method to do a programmed reboot (although I can't think of a use case), is to create a simple script file like so:

(shebang)/bin/bash
sudo init 6

And schedule it as a normal cron job using

crontab -e

(back to the old school way)

SDsolar
  • 3,219
0

My understanding is that @reboot jobs are not run as this is a bug: https://unix.stackexchange.com/questions/109804/crontabs-reboot-only-works-for-root

Greg
  • 298
-2

Use sudo to run @reboot - 14.04 uses initd instead of systemd and initd requires root / sudo to reboot, while systemd does not.

Prisma
  • 15