Comment on Cr*nmaster 1.5.0 - Major update
fccview@lemmy.world 17 hours agoHi,
I went through your logs and it seems like crontab is not installed on the host machine?
stderr: 'sh: 1: crontab: not found'
The tool uses the host crontab command via nsenter to manage cronjobs, so it only works if ran from hosts that leverage crontab to run cron jobs.
If that’s not the issue let me know and we can try and debug it together further, but looking at the logs it really seems like crontab is just not installed on your nas (guessing it’s a nas looking at the volume1 path)
irmadlad@lemmy.world 16 hours ago
Hmmmm…
systemctl status cronI’ll dick around with it some more. I don’t want to hammer you right in the middle of your promo.
fccview@lemmy.world 16 hours ago
Meh, I want to make sure things work, that’s also part of the promo right? haha
run
which crontabfor me? I can see cron is running but I still am not sure you have crontab installed on the host machine if that makes senseirmadlad@lemmy.world 16 hours ago
Should’ve included that. My bad.
I’m always down to learn from those more knowledgeable than I.
fccview@lemmy.world 15 hours ago
Oh wow, that definitely threw me off lol anyhow, I don’t think I am more knowledgeable than you at all, I just know the tool I built more, so I can help figure out the nuances of it…
I have a feeling nsenter is not liking your nas for some reason, I wanna try a workaround and if it works for you I’ll go through the code and sort it out so we can use a proper env variable for this
add this env variable for now and tell me if it sorts you out <3