cygwin 1.5.18: cron service issue
"Faisal Moiz" <[email protected]> Mon, 12 Dec 2005 11:36:53 -0500
| Newsgroups | gmane.comp.db.postgresql.cygwin |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. ------_=_NextPart_001_01C5FF3A.438B3DA8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 Hi, I am trying to get cron run as a service on windows XP by running the /usr/bin/cron-config as my self. It sets up the cron service but when cron runs my bash script it is unable to run any dos commands via "cmd". I have also tried with full absolute paths in my bash scripts but it still does not work.=20 =20 Is there anyways to make bash run dos commands via cygwin cron service? =20 Thanks in advance for your help in this matter. =20 -Faisal Moiz =20 ------------------------------------- Notice of Confidentiality --------= --------------------------------------------------=0AThis email and any f= iles transmitted with it are confidential and intended solely for the use= of the =0Aindividual or entity to whom they are addressed. If you have r= eceived this email in error please notify [email protected]. This mes= sage contains confidential information and is intended only for the =0Ain= dividual named. If you are not the named addressee you should not dissemi= nate, distribute or =0Acopy this e-mail. Please notify the sender immedia= tely by e-mail if you have received this e-mail by =0Amistake and delete = this e-mail from your system. If you are not the intended recipient you a= re notified =0Athat disclosing, copying, distributing or taking any actio= n in reliance on the contents of this information =0Ais strictly prohibit= ed. ------_=_NextPart_001_01C5FF3A.438B3DA8 Content-Type: text/HTML; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:= schemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html= 40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-asci= i"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal =09{margin:0in; =09margin-bottom:.0001pt; =09font-size:12.0pt; =09font-family:"Times New Roman";} a:link, span.MsoHyperlink =09{color:blue; =09text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed =09{color:purple; =09text-decoration:underline;} span.EmailStyle17 =09{mso-style-type:personal-compose; =09font-family:Arial; =09color:windowtext;} @page Section1 =09{size:8.5in 11.0in; =09margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 =09{page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>I am trying to get cron run as a service on windows XP= by running the /usr/bin/cron-config as my self. It sets up the cron service = but when cron runs my bash script it is unable to run any dos commands via “cmd”. I have also tried with full absolute paths in my bash scripts but it still does not work. <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>Is there anyways to make bash run dos commands via cyg= win cron service?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>Thanks in advance for your help in this matter.<o:p></= o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size= :10.0pt; font-family:Arial'>-Faisal Moiz</span></font><font size=3D2><span lang=3D= FR style=3D'font-size:10.0pt'><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'><o:p> </o:p></span></font></p> </div> <DIV><P><HR> ------------------------------------- Notice of Confidentiality --------= --------------------------------------------------<BR>=0AThis email and a= ny files transmitted with it are confidential and intended solely for the= use of the <BR>=0Aindividual or entity to whom they are addressed. If yo= u have received this email in error please notify <BR>[email protected]= et. This message contains confidential information and is intended only f= or the <BR>=0Aindividual named. If you are not the named addressee you sh= ould not disseminate, distribute or <BR>=0Acopy this e-mail. Please notif= y the sender immediately by e-mail if you have received this e-mail by <B= R>=0Amistake and delete this e-mail from your system. If you are not the = intended recipient you are notified <BR>=0Athat disclosing, copying, dist= ributing or taking any action in reliance on the contents of this informa= tion <BR>=0Ais strictly prohibited. </P></DIV> </body> </html> ------_=_NextPart_001_01C5FF3A.438B3DA8--