Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th May 2013, 16:29
hbmmafia hbmmafia is offline
Junior Member
 
Join Date: May 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default by accident deleted the cronjob from ispconfig 3

A good morning to all from the netherlands here .....
my issue is as follow ...
by accident i deleted the cronjob from ispconig 3 over ssh
now almost nothing is working please help me how to make a new cronjob so it works again thanks so much ....
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2013, 21:21
hbmmafia hbmmafia is offline
Junior Member
 
Join Date: May 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default solved

maybe not the correct way but it works .....
what i have done was installed the ispconfig3 in a vm
then i did this
root@server:~# getent passwd | cut -d: -f1 | perl -e'while(<>){chomp;$l = `cront
ab -u $_ -l 2>/dev/null`;print "$_\n$l\n" if $l}'

this listed the cronjob i was missing ....
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconf
ig/cron.log

so i did on the server where i was missing the cronjob like this
did crontab -e enter
then put in that file * * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconf
ig/cron.log saved it with ctrl+X
and walla it worked
Reply With Quote
  #3  
Old 9th June 2013, 06:21
DontSpaz DontSpaz is offline
Junior Member
 
Join Date: Jun 2013
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Curious as why did you just run the update.php script and let it recreate the cronjob?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain creation problem - OpenVZ DKLeader Installation/Configuration 11 26th October 2012 23:04
ISPConfig 3.0.0.8 RC1 released till General 92 22nd February 2010 09:52
Ftp problems timeout reny2000 General 6 23rd December 2009 11:09
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08


All times are GMT +2. The time now is 23:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.