Re: crontab

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Snyder, Alexander J via PLUG-discuss
Date:  
To: Main PLUG discussion list
CC: Snyder, Alexander J
Subject: Re: crontab
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 <
> 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 <> 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:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss