I have tried to update my code base on a daily basis using the following crontab command. But the first step itself not working when I tested it.
27 15 * * * . cd /home/covuser/user/ && . /home/covuser/user/conf.sh 40 17 * * * . cd /home/covuser/user && . /home/covuser/user/checkout.sh
conf.sh contains the environment variable necessary to make the code checkout. checkout.sh file does the checkout process.
The first line is supposed to set the environment variable required. But it is not happening.
What mistake have done in this? Thanks in advance.