Since this is not registered package, you should install it manually
mkdir ~/ZulipBots
cd ~/ZulipBots
git clone https://github.com/Arkoniak/SOtoZulip.jl.git SOtoZulip
cd SOtoZulip
juliajulia> ]
pkg> activate .
pkg> instantiateFor proper functioning, bot requires configuration.jl file in root directory. Since this file contains secrets it is not under version control, and should be created manually. Template of this file can be found in config_tmpl.jl, which should be copied to configuration.jl and edited approppriately.
Before first run, you should setup sqlite database. Recommended location is in db folder, but you can choose any other location, which is set in configuration.jl file, paramater SODB.
For db creation run
julia --project=. create_db.jlBot itself can be found in root directory, file yasobot.jl, so it can be run manually
julia --project=. yasobot.jlTo run as a cron job (as a local user) you can create executable shell script (fix julia path if needed)
#!/bin/bash
cd $HOME/ZulipBots/SOtoZulip/
$HOME/.local/bin/julia --project=. yasobot.jl >> $HOME/logs/yasobot.log 2>&1and in crontab -e install
0 * * * * $HOME/ZulipBots/SOtoZulip/yasobot.sh >> $HOME/logs/cron_yasobot.log 2>&1