<div dir="auto">You're basically on it.<div dir="auto"><br></div><div dir="auto">The "@reboot" is the when, but you're not quite there on the rest.</div><div dir="auto"><br></div><div dir="auto">Unless your command is already in the path, what you wrote isn't going to do anything.</div><div dir="auto"><br></div><div dir="auto">As the example showed, you can put your command into a shell script, with logging and other niceties, and that'll run at reboot.<br><br><div data-smartmail="gmail_signature" dir="auto">Thanks,<br>Alexander<br><br>Sent from my Samsung Galaxy S22+</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 26, 2022, 09:00 Michael via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I thought I found a solution:</div><div><p>You can add this script to <code>/etc/crontab</code>:</p>

<pre><code>@reboot /path/to/your/start.sh
<br></code></pre><pre><code>(I modified it to <code>@reboot tapbutton1=1)</code></code></pre><pre><code>Found <a href="https://unix.stackexchange.com/questions/438851/start-script-at-boot-for-kali-linux" target="_blank" rel="noreferrer">here</a> but it didn't work<br></code></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 26, 2022 at 9:38 AM Michael <<a href="mailto:bmike1@gmail.com" target="_blank" rel="noreferrer">bmike1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I want to run a program each time I start my computer (tapbutton1=1) <div>I looked under man crontab and that indicated I needed to look under man crom   but I am lost. Will anyone help?<br></div><div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
---------------------------------------------------<br>
PLUG-discuss mailing list: <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote></div>