LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-30-2012, 07:15 AM   #16
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217

Quote:
Originally Posted by Ubunter View Post
........

The unique way, which I got it to work is to run the crons without user, into the root crontab as crontab -e I add the lines, and now, i see there log as running into the root, but not as custom /etc/crontab... I don't know if this is correct, it's working, but it's correct?
Hi,

yes, this is correct if you're using "root" crontab you must not enter users in the command line.

But if you want to use "users" then you will need to add commands to "/etc/crontab" file. (make sure that commands/ scripts are user's executable (chmod 755)
 
Old 04-30-2012, 07:45 AM   #17
Ubunter
Member
 
Registered: Mar 2012
Posts: 36

Original Poster
Rep: Reputation: Disabled
Quote:
yes, this is correct if you're using "root" crontab you must not enter users in the command line.
So here, as root, without user, they are working find, and I could trace there log, all it's fine...

Quote:
But if you want to use "users" then you will need to add commands to "/etc/crontab" file. (make sure that commands/ scripts are user's executable (chmod 755)
Sur, I did, the file as executable, but it wasn't running, any way, as now they are working as root, and there's no mater in it... 'll say really thank you for that's help, and let the issue with the /etc/crontab, as it's, as they are not running from there...

Regards and thanks again!!

Chers!
 
  


Reply

Tags
crontabs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make my own iso image from runing Centos one (( Elastix )) tataghost Linux - Newbie 4 07-12-2011 04:17 AM
linux crontab vs unix crontab ytd Linux - General 2 08-09-2009 05:07 AM
replaced crontab, now should get crontab back to what it was raminn Linux - Newbie 2 10-20-2008 07:15 PM
script won't run in crontab(centos 5) ncsuapex Programming 2 03-09-2008 06:55 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration