bash: cron-config: command not found - PLEASE HELP ME!!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers bash: cron-config: command not found - PLEASE HELP ME!!
# 1  
Old 10-14-2008
bash: cron-config: command not found - PLEASE HELP ME!!

Hello All,

I have installed Cygwin on Windows XP and working with some Shell scripting work, I have needed to schedule my script using the cornetab and whatever commands such as "cron", "cron-config" are not working in my cygwin shell,
I re-installed the Cygwin but the same problem is with me.

Please be kind enough to answer me and help me to sort out this.
Any further information can be provided under this scenario.

Thanking in advance!!
Sriya
# 2  
Old 10-14-2008
crontab -e
# 3  
Old 10-14-2008
bash: cron-config: command not found - PLEASE HELP ME!!

Hello All,
I have fixed this problem by now, it was due to missing installed of the required packages for cron. I reintalled this properly and now all the commands related to cron is wroking fine.

but i am having another problem now.
When i going to configure the cron using cron-confing, the follwing output is prompted to the shell.

Code:
There may be serious issues with your environment.
You should look into them and run this script again.
Do you want to continue anyway? (yes/no)

When i say yes, it finish up with the following msg that the cron deamon is stared now!!,

but the cron job scheduled is not working...
for ex, following is the copy of crontab of my cygwin

Code:
* * * * * /home/b0_ftpd/my.sh


(1) should there be any elements included into the crontab other than the cron expression??
(2) why it says that there is an environment prob in my Cygwin??

Please be kind enough to sort this out..
thanking lotz in advance!!
Sriya
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

-bash: sendmail: command not found

Hello Experts, I have been trying to send a test mail in our linux server with sendmail command.But I am getting command not found error message. -->when I tried whether sendmail installed or not with the command rpm -qa sendmail* I got the below, sendmail-cf-8.14.4-8.el6.noarch... (26 Replies)
Discussion started by: Devipriya Ch
26 Replies

2. Shell Programming and Scripting

Command not found, but using function in bash

In the bash below, if the answer is "y" then goto function remove. If the answer is "n" then goto the id variable line (where the date is inputted). However, I am getting command remove not found, but remove is a function not an command. I must have the syntax incorrect? Thank you :). ... (3 Replies)
Discussion started by: cmccabe
3 Replies

3. Shell Programming and Scripting

bash: <command nm> command not found

I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time: export PATH="$PATH:~/scripts" I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Discussion started by: catalinawinemxr
5 Replies

4. Shell Programming and Scripting

bash:vi:command not found

I downloaded and installed "Cygwin yesterday onto my PC running Windows XP. When I tried to type "vi" in Cygwin's window, I got the following message bash: vi: Command not found What shud i do inorder to get into vi editor Thanks (10 Replies)
Discussion started by: bobby1015
10 Replies

5. Red Hat

BASH command not found strang behavior

Hi all I am relatively new to linux (specifically red hat). I have installed Fedora 13 on my machine and started playing with the terminal when i found a very strange behavior when typing a command that is not found: the terminal does not prompt me back. In other words, i am logged as root (or... (4 Replies)
Discussion started by: abohmeed
4 Replies

6. Shell Programming and Scripting

rm:command not found in linux Bash shell script

Hi All, Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux Issue: While executing shell scripts in bash shell, following error messages are thrown: rm:command not found On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Discussion started by: a1_win
9 Replies

7. Shell Programming and Scripting

cron job: command not found

Hi, I have a simple script. When I run it as cron job. I jot email saying: /bin/sh: line 1: test.tmp: command not found. the test.tmp looks like: #!/bin/sh date > done Even I took first line out, I got the same error. The current shell I have is /bin/tcsh Could anyone help me... (2 Replies)
Discussion started by: natxie
2 Replies

8. Shell Programming and Scripting

bash syntax error: command not found

I am trying to create a shell that asks the user to enter their name, and compare it to my own by saying we have the same name or saying my name and that they have a nice name too. Here is my script... #!/bin/bash-x echo "Enter your name". read name if then echo "My name is Adam too"... (1 Reply)
Discussion started by: amaxey45
1 Replies

9. Shell Programming and Scripting

#!/bin/bash and #1bin/sh command not found error on mac osx terminal/shell script

i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine. then last week i wrote capture.sh and it... (2 Replies)
Discussion started by: danpaluska
2 Replies

10. UNIX for Dummies Questions & Answers

cron command not found

I'm trying to execute a command in my crontab, but every hour I'm sent mail that says /bin/bash: root: command not found Does anyone know why I'm getting that message? It was in the crontab before I started screwing around with it and it was working fine. Now that I messed with it, ran a... (4 Replies)
Discussion started by: sstevens
4 Replies
Login or Register to Ask a Question