Sponsored Content
Full Discussion: cron error
Top Forums UNIX for Dummies Questions & Answers cron error Post 302572659 by felipe.vinturin on Thursday 10th of November 2011 01:50:18 PM
Old 11-10-2011
Check this link if it helps you: The light of the LAMP...: CRON error: grandchild failed with exit status 1 [Solution]

Also have you checked:
-----> Permissions on files, directories;
-----> If the script is correctly written, paths?
-----> Isn't it an error in your job? Have you checked the log file of your job?
-----> What does the script do? and has it ever worked with cron?

You can create a simple script and put it to run through cron:
Code:
# cat ./testCron.sh
#!/bin/sh
echo "[$$] Sleeping 10 secs..."
sleep 10 
echo "[$$] Done."

And put it to run in cron this way:
Code:
<PathToScript>/testCron.sh > <PathToScript>/testCron.log


Last edited by felipe.vinturin; 11-10-2011 at 02:56 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script/cron error

I am running a script through cron but keep getting this message in unix mail: Subject: cron Not a terminal stty: : Not a typewriter stty: : Not a typewriter logout The script appears to run successfully. Any ideas what this message is and how I can stop it? (1 Reply)
Discussion started by: Bab00shka
1 Replies

2. Filesystems, Disks and Memory

mmap error - only when from cron?!?!?

Hey Guys, Ive got a script which when run from the command prompt works exactly as planned. However when this script is scheduled to run from the crontab (using the same user ID) it brings up a series of mmap errors... + /opt/cobol/bin/rebuild /cybtirl/data/file02 -k:4+32 -e -i -v Error... (1 Reply)
Discussion started by: Bicks
1 Replies

3. UNIX for Dummies Questions & Answers

cron error

I am using the following cron entry to run a cron job every 4 hours and it is rejecting it: 0 */4 * * * /home/location/scriptname When I put this entry in cron is errors with: 0481-079 reached a symbol that is not expected. This is an AIX 5.3 system Any ideas? Thanks (4 Replies)
Discussion started by: capeme
4 Replies

4. Shell Programming and Scripting

cron entry error

I am using the following cron entry to run a cron job every 4 hours and it is rejecting it: 0 */4 * * * /home/location/scriptname When I put this entry in cron is errors with: 0481-079 reached a symbol that is not expected. This is an AIX 5.3 system Any ideas? Thanks (6 Replies)
Discussion started by: capeme
6 Replies

5. Shell Programming and Scripting

Error in cron job;

Hi All, please help me out with this problem. While running my mail_out_original.ksh in CRT window, it disconnects from the server saying not connected Here is my code : (please see the attachment) ____________________________________________________________ #!/bin/ksh ## Load... (1 Reply)
Discussion started by: shruthinagaraj
1 Replies

6. Shell Programming and Scripting

cron job error

HI am having a script file which is ok if i run from the server manually like <root@hostname:/space/canvas/home/lbs/current/internalcdrbackup/LES_CDR_Configuration/0/MSISDNcdrCount > /space/canvas/home/lbs/current/internalcdrbackup/LES_CDR_Configuration/0/MSISDNcdrCount.txt the... (2 Replies)
Discussion started by: aemunathan
2 Replies

7. UNIX for Dummies Questions & Answers

cron output error

I am attempting to run a cron job, however, I receive this cron output error: Error: of parameter : xxxxx does not make a valid output file. What causes this? (4 Replies)
Discussion started by: AM1234
4 Replies

8. Shell Programming and Scripting

Cron error

I am running the following cron job: SHELL=/usr/bin/ksh; export SHELL; . $HOME/.profile; xxx.sh > xxx.out 2>&1 and I am getting mail with the folloinwg message mailed to me when I login as this user: stty: tcgetattr: Not a typewriter I am running on an AIX 6.1 machine oslevel -s... (4 Replies)
Discussion started by: BeefStu
4 Replies

9. Debian

cron error

Hi all, I am brand new in linux and i have a cron lon error which i am trying to locate if anyone has any ideas that would be really appreciated ################### Logwatch 7.3.6 (05/19/07) #################### Processing Initiated: Thu Nov 10 06:25:26 2011 Date Range... (0 Replies)
Discussion started by: stav40
0 Replies

10. UNIX for Dummies Questions & Answers

Help please error cron

Hi all, I write from 'Italy (sorry for my english) I have a joomla site, some days I get an error with cronjobs I do not know how to fix it (I'm not an expert) I kindly ask you to help you who are more experienced the error is this: Status: 403 Forbidden Set-Cookie: =... (1 Reply)
Discussion started by: arredoannunci
1 Replies
All times are GMT -4. The time now is 10:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy