DEFINITIONS

Definitions More Info.
Definition ID15.116
TitleLINUX
CategoryNOTES
Definitioncronjob ile reboot da script çalıştırma
Definition Descriptionhttps://superuser.com/questions/586077/how-to-run-a-script-at-boot-time-for-normal-user
@reboot /bin/bash /dir/of/your/script

örnek:
#postgresql repmanager failover monitoring service calistirma
@reboot /usr/pgsql-16/bin/repmgrd -f /var/lib/pgsql/repmgr.conf

ya da
@reboot sh /tmp/test.sh
RecordBycunay
Record Date08-04-2024 14:57:29
Düzenle
Kopyala
Sil