The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cronjob Crontab Cron Restarter Help ArtuDitu Shell Programming and Scripting 1 03-05-2008 11:00 PM
FTP Cron issues bryanthomas Shell Programming and Scripting 4 06-05-2006 05:13 AM
Issues using ssh from crontab to run remote script from frustrated1 Shell Programming and Scripting 4 08-25-2005 04:49 AM
cron and crontab Perderabo Answers to Frequently Asked Questions 0 04-04-2004 04:29 PM
cron/crontab not working ezekiel61 UNIX for Dummies Questions & Answers 2 02-05-2003 07:59 AM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-28-2009
ippy98 ippy98 is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 28
cron / crontab issues - solaris 10

I am having some issues with my cronjobs not running in solaris 10.

Cron is running:

~> ps -ef | grep cron
root 202 1 0 Jul 18 ? 0:01 /usr/sbin/cron
bender 1646 1562 0 01:57:49 syscon 0:00 grep cron

crontab -l lists the cronjob and I *think* its in the correct format :P

~> crontab -l
#ident "@(#)bender 1.5 92/07/14 SMI" /* SVr4.0 1.2 */
#
0 * * * * /usr/local/apache2/htdocs/wootget2

Script works perfectly fine when run manually from terminal. It's just not executing by cron.

Also I had to create/edit the entry in
~> ls /var/spool/cron/crontabs/bender
-rw-r--r-- 1 root root 121 Oct 28 00:16 /var/spool/cron/crontabs/bender

because when i do a crontab -e
it seems to act wierd. When I do crontab -e
it automatically enters a # on a new line, then if i try to add a new line it gives me a ? and doesnt seem to do anything or recognize any commands.

~> crontab -e
121
0 * * * * /usr/local/testcron
?
^C
?
:q
?
:w
?
:x
?
^Z
[1]+ Stopped crontab -e
 

Bookmarks

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 06:25 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