Sorry we lost some posts because of database errors!

*New 12.1 series Release:
2020-09-01: XigmaNAS 12.1.0.4.7728 - released

*New 11.4 series Release:
2020-08-27: XigmaNAS 11.4.0.4.7718 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

problem with cron jobs

XigmaNAS Scripts and shell tips
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Acrobat
NewUser
NewUser
Posts: 3
Joined: 26 Oct 2020 10:00
Status: Offline

problem with cron jobs

#1

Post by Acrobat »

Hello,

I am new to Xigmanas. Got it to work but I have some problems with cron jobs.

First I want to have a weekly system report which works when I send it manually but will not work by cron.

When I try to view the crontab with "crontab -l" I get an error that I (root) am not allowed to use the command.

Then I've checked the /var/cron/allow file which should contain root but is empty. When I add root to the allow file crontab works but tells me that ther is no crontab for root but after restarting the service the file will be empty again.

Any ideas?

Regards Holger

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4980
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: problem with cron jobs

#2

Post by raulfg3 »

12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Acrobat
NewUser
NewUser
Posts: 3
Joined: 26 Oct 2020 10:00
Status: Offline

Re: problem with cron jobs

#3

Post by Acrobat »

Ok, thanks. I have understood this but the weekly email report of the system cannot configured this way and does still not work.

i have set it up to send me an report on Sunday morning but it does not.

Acrobat
NewUser
NewUser
Posts: 3
Joined: 26 Oct 2020 10:00
Status: Offline

Re: problem with cron jobs

#4

Post by Acrobat »

I have found my error.

Didn't checked the button on the top (in German: Freigeben should be Aktivieren) My misunderstanding. Thanks.

Post Reply

Return to “Scripts and shell tips”