Page 1 of 1

Script Execution at Boot Time with Crontab in FatDog?

Posted: Mon Mar 28, 2022 3:07 am
by Neo_78

Does a remastered FatDog support script execution at boot time using crontab?

For instance:

Code: Select all

#crontab -e
@reboot root /usr/local/bin/start_script.sh

Thanks for your advice!


Re: Script Execution at Boot Time with Crontab in FatDog?

Posted: Mon Mar 28, 2022 5:38 pm
by JakeSFR

Our Busybox's (v1.27.0) crond doesn't support special times yet, it was added in v1.28.0.
https://github.com/mirror/busybox/commi ... e3a706c016

Greetings!


Re: Script Execution at Boot Time with Crontab in FatDog?

Posted: Thu Mar 31, 2022 12:47 am
by Neo_78

Thanks @JakeSFR. I think that would be a useful package update for future releases.

Is there an alternative way to load a script at boot time?


Re: Script Execution at Boot Time with Crontab in FatDog?

Posted: Thu Mar 31, 2022 7:57 am
by user1111

For startup : /etc/rc.d/rc.local

To execute at shutdown : /etc/rc.d/rc.local.shutdown

If you want to run a script once X is up and running then use the ~/Startup folder


Re: Script Execution at Boot Time with Crontab in FatDog?

Posted: Thu Mar 31, 2022 9:08 pm
by step

Adding to rufwoof's list, the /etc/xdg/Startup folder - only the scripts with executable permission will be started. If you want a GUI for this folder as well as for ~/Startup, start Fatdog64 Control Panel then click System > Manage desktop startup programs.