Reputation: 3102
I am running a cron on a Pi. It basically works ... except .. that every now and again the system misbehaves and stops doing the scheduled things. When I log in to it I discover that the crontab has picked up a new line .....
The crontab looks like ..... @reboot .... dum .. dee .. dum .. all works 10 4-22 * * * do something else that works
but an extra line appears at the end
and most of the rest stops running .... if I log in and comment this line out, things revert to normal operation.
any ideas what could make this happen?
Upvotes: 1
Views: 53
Reputation: 3102
I had a Pi with a cell connection and a weak password. The cell connection permitted inwards calls. I got owned ..... just like everyone says.
The use of an open link was not as bad as it sounds - the default mode of operation was to only connect for about two minutes in 20 and each time the IP address changed. Makes it a bit hard for the brute force probes to get far.
To fix it (using a new SD card). I used an APN that does not permit inwards connections. I communicate with the Pi using dataplicity or openvpn.
Upvotes: 1