Tuesday, May 28, 2019

crontab

Hi,

I am having lots of problems to execute a shell script at boot time.

My crontab is as follows;
>>
SHELL=/bin/ksh

@reboot $HOME/bin/app-ferre
<<
My shell script is as follows:
>>
#!/bin/ksh

lua=/usr/local/bin/lua53

for f in $(ls /home/alberto/app/service-*.lua) ;do
echo 'Initializing' $f '\n'
$lua $f &
done
>>

Thanks for any help or advice,

// Carlos

No comments:

Post a Comment