auto start cron in wsl2

icy1900

Roy

Posted on July 13, 2021

auto start cron in wsl2
sudo tee /etc/profile.d/start_cron.sh <<EOF
if ! service cron status &> /dev/null; then
  sudo service cron start
fi
EOF
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
icy1900
Roy

Posted on July 13, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related