Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crontab issue

Status
Not open for further replies.
Nov 28, 2002
121
US
I'm trying to test my crontab.

setenv EDITOR vi
crontab -e

I add this line passing 1025667 as the argument in my perl script.

32 14 * * * /usr/local/apache/cgi-bin/scrap/scrap_emailer2.pl 1025667

It never runs. I double check my time and it doesn't do anything. Is there something I may be overlooking?

 
does anything else from your crontab run?
which flavour of sco do you have?
 
nothing runs on my crontab.
That stinks.
How do I find out what sco I have?
does this have anything to do with permissions?
 
uname -s

Could be permissions. I am assuming this is NOT the root crontab. You need permission to run jobs via cron, methinks.

from the crontab man page:

If the file /usr/lib/cron/cron.allow exists, only the users listed in that file are allowed to use crontab. If cron.allow does not exist, and the file /usr/lib/cron/cron.deny does, then all users not listed in cron.deny are allowed access to crontab. An empty cron.deny allows global usage. If neither file exists, only root is allowed to submit a job. The allow/deny files consist of one user name per line.
 
I am on a Sun Solaris.

I have a cron.deny file that does not include me.
Therefore, that can't be an issue.

Are there any environment settings I have to place in my perl script for it to work?

The file runs when I kick it off on the command line, but never from my cron entry.
 
Not sure. I am able to run items from a personal cron on SCO OpenServer. Solaris may have something unique...

Have you asked this question in the General Unix forum?
forum80

Or better yet, in the Sun Solaris forum?
forum60

I'm not trying to be uncooperaive or anything, but I'm thinking most folks in the SCO forum are more familiar with SCO. Try the Solaris forum for better help perhaps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top