guysoft / HotSpotOS

Raspberry Pi OS that starts a hotspot, if no wifi was found to conenct to

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cronjobs?

CT83 opened this issue · comments

Are CronJobs added with the Image? I have installed it and I don't think the timer is working, the RPi does not create a Hotspot after 5 minutes.

Should be,
Check running crontab -l as root.

What image are you using?

I am using HostSpotOS 0.1.0 Stretch Lite
Okay, I fixed it the problem was that the CronJobs were not running.
I used sudo grep /usr/bin/autohotspotN /var/log/syslog to check Cron logs, turns out, jobs were running fine until 6 hours ago. After some digging I figured that the problem was that the CronJobs were not running, due to them not being run as root or them not being run at all. I followed this stackoverflow answer, and added the jobs to System-Wide CronTab. Everything seems to be working now.
I have few more doubts and issues, I will open them individually to make it easy for you to reference them in a PR

Thanks! Awaiting PR :)

I will try to make a PR, but if I don't could you please verify if you are facing this issue too? Or is it just me? Maybe changing the root password triggered it? 🤷

The issue is that it works for me here. So I have no way to test beyond.
The thing is, if a PR makes it work for both me and you. then its worth pulling. There might be other users it fixes issues for them.

Closing if no reply