DEFINITIONS
Definitions More Info.
Definition ID
15.116
Title
LINUX
Category
NOTES
Definition
cronjob ile reboot da script çalıştırma
Definition Description
https://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
RecordBy
cunay
Record Date
08-04-2024 14:57:29
Düzenle
Kopyala
Sil