DEV Community 👩‍💻👨‍💻

Roy
Roy

Posted on

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

Top comments (0)

5 Websites To Learn Frontend Web Development Faster 💨

>> Check out this classic DEV post <<