Article 5FGD6 Anacron update, simple bash command, reboot command

Anacron update, simple bash command, reboot command

by
hkjz
from LinuxQuestions.org on (#5FGD6)
how to execute simple bash command, every time linux starts?

There is a file

/etc/anacrontab
is this this one where is should put change? if so how
because
`@reboot [command]` doesnt work

Code: GNU nano 3.2 anacrontab

# /etc/anacrontab: configuration file for anacron

# See anacron(8) and anacrontab(5) for details.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
LOGNAME=root

# These replace cron's entries
1 5 cron.daily run-parts --report /etc/cron.daily
7 10 cron.weekly run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly run-parts --report /etc/cron.monthlylatest?d=yIl2AUoC8zA latest?i=Xrfr5_ESxTY:sNvVfEVu6Ec:F7zBnMy latest?i=Xrfr5_ESxTY:sNvVfEVu6Ec:V_sGLiP latest?d=qj6IDK7rITs latest?i=Xrfr5_ESxTY:sNvVfEVu6Ec:gIN9vFwXrfr5_ESxTY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments