You're basically on it.

The "@reboot" is the when, but you're not quite there on the rest.

Unless your command is already in the path, what you wrote isn't going to
do anything.

As the example showed, you can put your command into a shell script, with
logging and other niceties, and that'll run at reboot.

Thanks,
Alexander

Sent from my Samsung Galaxy S22+

On Mon, Dec 26, 2022, 09:00 Michael via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> I thought I found a solution:
>
> You can add this script to /etc/crontab:
>
> @reboot /path/to/your/start.sh
>
> (I modified it to @reboot tapbutton1=1)
>
> Found here 
> <https://unix.stackexchange.com/questions/438851/start-script-at-boot-for-kali-linux>
>  but it didn't work
>
>
> On Mon, Dec 26, 2022 at 9:38 AM Michael <bmi...@gmail.com> wrote:
>
>> I want to run a program each time I start my computer (tapbutton1=1)
>> I looked under man crontab and that indicated I needed to look under man
>> crom   but I am lost. Will anyone help?
>> --
>> :-)~MIKE~(-:
>>
>
>
> --
> :-)~MIKE~(-:
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss
  • crontab Michael via PLUG-discuss
    • Re: crontab Michael via PLUG-discuss
      • Re: crontab Snyder, Alexander J via PLUG-discuss

Reply via email to