ispCP - Board - Support
Writing CronJobs Web int. It's time! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Writing CronJobs Web int. It's time! (/thread-5339.html)

Pages: 1 2 3 4 5 6 7


RE: Writing CronJobs Web int. It's time! - leha - 12-04-2009 06:38 PM

Hi, I need your help. I try start /etc/init.d/hcrond start
and returns response:
-bash: /etc/init.d/hcrond: /bin/bash^M: bad interpreter: No such file or directory


RE: Writing CronJobs Web int. It's time! - Knut - 12-04-2009 07:24 PM

I think you have to remove the special characters from the file. (dos2unix)


Knut


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 12-04-2009 07:40 PM

Hm... I haven't thise error.


RE: Writing CronJobs Web int. It's time! - mr.x - 12-04-2009 08:04 PM

Hi,

you edit your file with a windows program.
Code:
/bin/bash^M: b

Just remove the "^M" and its fine.

Br
jan


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 12-04-2009 08:45 PM

(12-04-2009 08:04 PM)mr.x Wrote:  Hi,

you edit your file with a windows program.
Code:
/bin/bash^M: b

Just remove the "^M" and its fine.

Br
jan

I understend.
But it's not necessity for CentOS Wink

Using username "root".
Authenticating with public key "dsa-key-root"
Last login: Fri Dec 4 04:40:53 2009 from 91.78.78.75
[root@main ~]# service hcrond status
Usage: /etc/init.d/hcrond {start|stop|restart|reload|force-reload}
[root@main ~]# service hcrond restart
ReStarting hcrond...
[ OK ]
[root@main ~]#
Tongue


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 12-05-2009 01:24 AM

leha, Knut, mr.x
Fanks for submission this bug.rep.
It's for iap-cp Team, if they take a planes to include this solution into installer of isp-cp (maybe by option).

As far as my accuracy ...

-Nak-Nak! Mr. Lazy! Open the door!
- Give me the poker (fire iron), I'm not getting out of bed will open!
(Russian national folklore)
Wink
I have a Q too Wink
In Russian Corner I asked users "what funktions you want to see in developvent?"
Maybe -
More tests of job's scripts,
Lust run in CJ's table,
Resaults of last run?
Error-status?

Place in the table and in the pages of the panel is limited!

But no activity in RC Sad

And so come down! Perhaps a ride ...
(Russian national folklore)


RE: Writing CronJobs Web int. It's time! - RatS - 12-05-2009 07:05 AM

data-stream_ru, can you please create a patch against the latest trunk and attach it to Ticket #139?
In this case the modification can be inside ispCP much faster.


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 12-05-2009 03:19 PM

(12-05-2009 07:05 AM)RatS Wrote:  data-stream_ru, can you please create a patch against the latest trunk and attach it to Ticket #139?
In this case the modification can be inside ispCP much faster.

I use RC 1.0.0 in my servers Sad
I have a plane to update ispCP at January.
And after that I can see that problems we have about integration to new versions ispCP.

Now I ask sagestions for development which planed to February.


RE: Writing CronJobs Web int. It's time! - leha - 12-06-2009 07:17 AM

Knut thanks! I am convert this file to UNIX format, try start and have a new troble...
# /etc/init.d/hcrond start
/etc/init.d/hcrond: line 11: /etc/rc.d/init.d/functions: No such file or directory
Starting hcrond.../etc/init.d/hcrond: line 25: daemon: command not found


RE: Writing CronJobs Web int. It's time! - data-stream_ru - 12-06-2009 03:24 PM

(12-06-2009 07:17 AM)leha Wrote:  Knut thanks! I am convert this file to UNIX format, try start and have a new troble...
# /etc/init.d/hcrond start
/etc/init.d/hcrond: line 11: /etc/rc.d/init.d/functions: No such file or directory
Starting hcrond.../etc/init.d/hcrond: line 25: daemon: command not found

Do you compile hCrond source code?
Smile