The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cronjobs not running. cromohawk SUN Solaris 1 09-15-2008 03:08 PM
Setting cronjobs... krworks Shell Programming and Scripting 4 06-06-2008 03:46 AM
Time Zone in AIX and cronjobs run_time_error AIX 1 04-28-2006 07:42 AM
Cronjobs mcastill66 AIX 1 05-31-2005 03:15 PM
cronjobs tamer UNIX for Dummies Questions & Answers 3 01-22-2001 02:48 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-17-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
OK, that shows crond is NOT running.

also try (on HP-UX its cron vs crond):
Code:
# ps -ef | grep cron

Lookup how to start crond.

might be:
Code:
# /etc/init.d/cron start

Find your init.d directory and look for cron or crond
  #2 (permalink)  
Old 11-17-2008
Geller Geller is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 19
but my user is not root, does it matter?, I have another user and It seems that I do not have privileges:

$ cron start
! you are not authorized to use cron. Sorry. Mon Nov 17 17:57:32 2008
! ******* CRON ABORTED ******** Mon Nov 17 17:57:32 2008
  #3 (permalink)  
Old 11-17-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
Yes you must have root access.
  #4 (permalink)  
Old 11-17-2008
Geller Geller is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 19
other thing, I did a test with a simple shell script like: touch TEST that comand I put in a file .sh I scheduled in crontab and the file TEST was created. I don't know why with my other shell script the cron is not working. =/
  #5 (permalink)  
Old 11-18-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
Quote:
Originally Posted by Geller View Post
other thing, I did a test with a simple shell script like: touch TEST that comand I put in a file .sh I scheduled in crontab and the file TEST was created. I don't know why with my other shell script the cron is not working. =/
Well it appears that cron IS running.

Check the cron logfile, if you have permission. Since you are not root ask your sysadmin for help.
  #6 (permalink)  
Old 11-18-2008
Geller Geller is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 19
Yes, I have permission, my user appears at at.allow file.
Any idea?
  #7 (permalink)  
Old 11-18-2008
Geller Geller is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 19
do you have other suggestion? thanks.
Closed Thread

Bookmarks

Tags
shell script, shell scripting, unix scripting, unix scripting basics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0