crontab

Snyder, Alexander J alexander at snyderfamily.co
Mon Dec 26 09:54:02 MST 2022


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 at 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 <bmike1 at 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 at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20221226/2de8742d/attachment.htm>


More information about the PLUG-discuss mailing list