I am running DietPi on a RPI in my network with some docker containers on it.

I recently got the idea to switch off containers when not needed, e.g. during the night, since this will allow my hard drive to switch off and saves a bit of energy.

I do not recall how I found out, but for some reason what I did was to just edit the /etc/crontab file that DietPi has with sudo. Worked like a charm, I had my containers stopped and started just as specified.

But then I wanted to make some changes, change some times, add some other stuff. I did it the same way, edit the /etc/crontab file with sudo. Didn't work, none of my new additions worked.

I searched online and figured out the better way to do this is use the command "crontab -e", edit stuff there, then also check with "crontab -l" right after. That worked, now my new containers are all behaving as they should.

But how do I now get rid of the stuff I defined in /etc/crontab? I removed it all from that file, saved it, restarted the system, nothing removed these, they are somehow persisting. I know they do because I use a different log file for these and that log file still gets generated now. How can I fix this?

Bonus question about log files, how can I make them more useful in terms of information? Right now they just name the command, not even a timestamp or anything.

Thanks!

[–] 6 points 1 day ago (1 child)

Because you are trying to get a new job so fuck your current employer :D

But for real, I admit I actually did this since the interview time was during working hours and I am then, well, at work.

I don't like taking a whole or half day off for an interview, so yeah. But I get that this is not possible for everyone.

  • source
  • parent
  • context
  • [+] -6 points 2 days ago (4 children)

    Lmao, you think the democrats will actually change anything? Didn't they also get the upper hand during Trumps previous term and what exactly did that get you? All the politics is rotten right now, doesn't matter who of the popular parties is running the show.

  • source
  •  

    Anyone here playing Step-On-It on the Steamdeck with bluetooth controllers in local multiplayer?

    I cannot get the game to recognize both my controllers. I got an 8bitdo lite and an 8bitdo pro 2, they both work fine in tons of other games.

    Step-on-it only recognizes the Steamcontroller (the deck itself) and the 8bitdo lite by name, I cannot select the 8bitdo pro 2 somehow, even though it is connected and working. The steamcontroller works fine when selected, just not practical when I want to use the deck docked.

    I am running the linux native version, if that matters, happy to try the windows version if it can help. I have set controller order as 1) 8bitdo pro2, 2) 8bitdo lite, 3) steamcontroller.

    view more: next ›