run on linux AMD64 server. amazon linux 2023 is not working on ffmpeg, use amazon linux 2
wget https://raw.githubusercontent.com/dss99911/video-recoder/master/install_linux.sh
sh install_linux.sh {slack-webhook-url}
rm install_linux.sh
- set UTC time. if your timezone is Seoul do Seoul time - 9,
- ex) 9am in Seoul -> set 0am
HOUR=10
MINUTE=30
DURATION=3600
sh $RECORDER_PATH/update_time.sh $HOUR $MINUTE $DURATION
# or
sh $RECORDER_PATH/update_time.sh 10 30 3600
sh $RECORDER_PATH/update_code.sh
To disable : on crontab -e
, remove scheduling code
To enable : on crontab -e
, input scheduling code like crontab