- Joined
- Jul 2, 2019
- Messages
- 57
- Reaction score
- 12
Hi community
For several days I have tried to execute some scripts when my passive failover takes control,
but I have not been able to execute any.
I have followed the link: https://www.3cx.com/community/threads/failoverscripts-in-linux.57407/#post-240011
without a successful result.
out of curiosity I created a small script to find the user who runs this script, that I share with you:
#!/bin/bash
a=
b=
c=
d="le date est: $a, le nom dutilisateur est: $b, le dossier est :$c"
echo $d >> ~/utilisateurInfopourScript.txt
but not even that works.
I think he hasn't executed, because I search for the output file inside my entire linux machine and it doesn't exist.
Do you have any ideas?
thank you
For several days I have tried to execute some scripts when my passive failover takes control,
but I have not been able to execute any.
I have followed the link: https://www.3cx.com/community/threads/failoverscripts-in-linux.57407/#post-240011
without a successful result.
out of curiosity I created a small script to find the user who runs this script, that I share with you:
#!/bin/bash
a=
date +"%d/%m/%Y"b=
whoamic=
pwdd="le date est: $a, le nom dutilisateur est: $b, le dossier est :$c"
echo $d >> ~/utilisateurInfopourScript.txt
but not even that works.
I think he hasn't executed, because I search for the output file inside my entire linux machine and it doesn't exist.
Do you have any ideas?
thank you
