Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2817

Cron service deactivates after reboot [duplicate]

$
0
0

I installed Ubuntu for Windows 10 yesterday and set up a cronjob. It runs fine after starting the cron service, but every time I restart my PC it the cron service is deactivated and I have to activate it manually again.

So after some investigating I found that with update-rc.d I can add cron to auto-start services. I ran that command and checked that I have the appropriate S01cron links in the runlevel directories rc2 through rc5. Having said this, it still does not work.

I wonder if this is because when I start the cron service with sudo service cron start I have to provide my password, which I do not when adding it to the auto-start queue? Can I somehow exempt cron from password requirements?


Viewing all articles
Browse latest Browse all 2817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>