Page 1 of 1

Another basic crontab question.

Posted: 14 Apr 2015 01:14
by Tha Tawa'S
Hi all,

i wrote a script named .cmatin
It works fine.
With mtcl's account, I also put it into crontab with crontab -e and it worked fine too unil the next CPU reboot like this :
55 06 * * * /DHS3bin/mtcl/.cmatin

Indeed, after each CPU reboot, the line into crontab disappears. i don't understand why. need help !
And if I edit crontab with root account, it does not work properly, I mean, rsult's command are not forwarded to temp files.

thank you.

Re: Another basic crontab question.

Posted: 14 Apr 2015 01:24
by Tha Tawa'S
I just add that I would prefer script works with mtcl's account instead of root account.
Best configuration regarding owner and perissions..

OXE version is R10.1.1-j2.603.35

Re: Another basic crontab question.

Posted: 14 Apr 2015 05:10
by alex
Use "cfgCron" command for editing crontab.
Write a script to filter incidents.

Re: Another basic crontab question.

Posted: 14 Apr 2015 16:27
by Tha Tawa'S
Thank you Alex.
you have redirected me to one of my old post.... :)

Also, after test made on virtual machine, it seems that modify mtcl.cron then crontab -e works after reboot.

I will try cfgCron also.

Re: Another basic crontab question.

Posted: 14 Apr 2015 18:48
by cavagnaro
:lol: :lol: :lol:

Re: Another basic crontab question.

Posted: 15 Apr 2015 03:16
by alex
Image

Re: Another basic crontab question.

Posted: 15 Apr 2015 15:57
by Tha Tawa'S
:)

Re: Another basic crontab question.

Posted: 22 May 2015 08:40
by frank
Every time you start the OXE, there are a ton of scripts that start too.
One of them make sure that there is no weird users created in /etc/passwd for example, and another one check the crontab for anything that was not setup manually, which is your case.

Re: Another basic crontab question.

Posted: 24 May 2015 03:01
by Tha Tawa'S
Thanks for this precision