[solved] cron's do not happen so I put cron restart in rc.local OK?

Is there a better way to do this?
I noticed my cron.hourly only runs if cron is asked to restart at some point, so I added:
/etc/rc.d/crond restart
to /etc/rc.local
Does this make sense?
(the result is that at boot cron is asked to restart and so consequently the crons are run)
Last edited by tawan (2010-04-05 01:57:41)

Well, if your scripts only need to run every N days, then you could set cron up to run anacron and do all the configuration in anacron. If you have any scripts that run at different frequencies, for example every hour, then you'd need to mess with crontabs as well.
Anacron isn't broken. But it isn't being developed, and I got no response when I sent a patch (a feature-enhancement) to the developers a year or two ago. (I don't remember whether I even was able to find a working email address...)

Similar Messages

  • Hello... the airport (wifi) connection on my imac is oftenly "freeze" and need to reconnect again. Can everyone help to solve this problem? It's not happened to other computer on the same network in the same area (distance). Thanks a lot.

    Hello... the airport (wifi) connection on my imac is oftenly "freeze" and need to reconnect again. Can everyone help to solve this problem? It's not happened to other computer on the same network in the same area (distance). Thanks a lot.

    Hello,
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.5, 10.6, 10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x/10.8.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6/10.7/10.8, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    (There may be better or faster DNS numbers in your area, but these should be a good test).
    Click OK.
    If that doesn't work try changing channels on your Router.

  • Euro conversion is not happening in Excise invoice

    Dear SAP Gurus,
    When I am creating excise invoice for export order, the conversion maintained in OB08 for USD is happening in INR but the same is not happening for EURO. The EURO conversion is also maintained in OB08.
    When I am creating Sales order, the warning message is coming that 'Pricing/euro: Attention: Euro Customizing not maintained'.
    Kindly help me to sort out this problem.
    With Warm and Kind Regards
    BHIKSHAPATHI

    Hi
    go to transaction cose EWCF and select Confirm euro currency Customizing and  execute.
    hope this will solve ur problem.
    do revert
    regards
    chander

  • In iGoogle with firefox 4 I am unable to get the tabs to change down the left hand side or get any response to selections made to items like calender or weather this does not happen in Explorer 9.

    After loading FireFox 4 all worked OK for a while. Now when trying to change the tabs on left hand side (Home etc) or change selections on the apps (Weather or Calender) nothing happens. I am running iGoogle with FireFox 4 but this does not happen when trying the same thing with Explorer 9.

    Having the same problem, but not only can't change tabs, but cannot open links on the page. I thought that by reducing my iGoogle page to one tab, and putting what content I could into app tabs that would solve most of the problems. It did some. For a while I was able to bypass this with the iGoogle Tab Remover add-on but it stopped working last night and I've not been able to get it working since.

  • Account determination is not happening with Cancel. Invoice (S1)

    Hi friends,
    Please can any one solve this error,
    When i create a original invoice using billing doc type(F2) account determination happens and system automatically creates accounting document as well. If i cancle the orignal invoice using billing doc type(S1) account determination is not happening instead i will get a error message saying that the accounting document has not yet been created.
    Swamy HP

    Hi swatha,
        This is what the error i am getting when i release the cancle invoice S1 billing doc to accounting.
    For object RF_BELEG 0920, number range interval does not exist
    Message no. NR 751
    Diagnosis
    The database table NRIV has the delivery class 'C', i.e. the SAP default settings are only in client 000.
    Procedure
    Create the missing number range interval in customizing.
    Transaction code: FBN1
    Swamy HP

  • Should not happen unless default context failed to deploy

              Can somebody please throw some light on this error?
              <Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
              default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              HTTP/1.0". This should not happen unless the default context failed
              to deploy.>
              Myself and lot of other people in my team are getting this error
              when using beans in a cluster.
              I am getting this error consistently whenever I make some code
              changes in my bean class (not interface changes) and redeploy it
              and try to lookup through a stand-alone client.
              The only way I could find to overcome this problem is:
              1) edit config.xml to remove the Application element completely
              corresponding to the bean
              2) remove jar files from the applications directory
              3) re-deploy and run the client again.
              Thanks a lot
              Kiran Ganuthula
              

    Partly it could be WLS problem also. Under any circumstances default webapp should be able
              to deploy. I have seen somebody else also reported the same problem. The current problem is
              if you delete anything from apps dir, the corresponding entry is not being deleted from config.xml
              So next time when you boot the server, it tries to deploy the webapp and eventually it fails.
              I 'm not sure if this is the situation in your case.
              In anycase somehow Targets tag is not being picking up. That's why i asked you add
              "WebServers" tag. I think we have done some major changes in SP1, to make sure that
              default webapp deploys all the times.
              If you still have problems, post it to servlet or management group, we will discuss there.
              Kumar
              Kiran G wrote:
              > I edited the config.xml ONLY after getting this error. And, it worked.
              >
              > BTW, can you please be more specific about the changes to config.xml
              > to solve the problem?
              > If possible, can you give pertinent portion(s) of config.xml, highlighting
              > the changes.
              >
              > Thanks
              > Kiran G
              >
              > Kumar Allamraju <[email protected]> wrote:
              > >
              > >
              > >It appears your "default webapp" failed to deploy.
              > >Did you messed up with the config.xml?.
              > >
              > >Add the following to your default webapp tag?
              > >
              > ><Application
              > > Deployed="true"
              > > Name="DefaultWebApp_vindev1"
              > > Path="./config/vindev1/applications"
              > > >
              > > <WebAppComponent
              > > Name="DefaultWebApp_vindev1"
              > > Targets="vindev1"
              > > WebServers="vindev1"
              > > URI="DefaultWebApp_vindev1"
              > > />
              > > </Application>
              > >
              > >
              > >Here vindev1 is my domain's name..
              > >
              > >BTW, this is not a clustering question. So you better
              > >post it to servlet newsgroup where you get much
              > >better answers..
              > >
              > >Kiran G wrote:
              > >
              > >> I forgot to give these details about the problem.
              > >> I am running this cluster using WebLogic 6.0 on a SUN
              > >sparc machine.
              > >>
              > >> The error text given in my original posting appears
              > >in the managed
              > >> weblogic server's log. The exception that the client
              > >receives while
              > >> lookup is :
              > >>
              > >> javax.naming.CommunicationException. Root exception
              > >is java.rmi.UnmarshalException:
              > >> failed to unmarshal class java.lang.Object; nested exception
              > >is:
              > >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > >>
              > >> "Kiran G" <[email protected]> wrote:
              > >> >
              > >> >Can somebody please throw some light on this error?
              > >> >
              > >> ><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
              > >> >default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              > >> >HTTP/1.0". This should not happen unless the default
              > >context
              > >> >failed
              > >> >to deploy.>
              > >> >
              > >> >Myself and lot of other people in my team are getting
              > >> >this error
              > >> >when using beans in a cluster.
              > >> >
              > >> >I am getting this error consistently whenever I make
              > >some
              > >> >code
              > >> >changes in my bean class (not interface changes) and
              > >redeploy
              > >> >it
              > >> >and try to lookup through a stand-alone client.
              > >> >
              > >> >The only way I could find to overcome this problem
              > >is:
              > >> >1) edit config.xml to remove the Application element
              > >completely
              > >> >corresponding to the bean
              > >> >2) remove jar files from the applications directory
              > >> >3) re-deploy and run the client again.
              > >> >
              > >> >Thanks a lot
              > >> >Kiran Ganuthula
              > >> >
              > >> >
              > >> >
              > >> >
              > >> >
              > >
              > >
              > ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              > ><html>
              > >It appears your "default webapp" failed to deploy.
              > ><br>Did you messed up with the config.xml?.
              > ><p>Add the following to your default webapp tag?
              > ><p><Application
              > ><br> Deployed="true"
              > ><br> Name="DefaultWebApp_vindev1"
              > ><br> Path="./config/vindev1/applications"
              > ><br> >
              > ><br> <WebAppComponent
              > ><br> Name="DefaultWebApp_vindev1"
              > ><br> Targets="vindev1"
              > ><br> <b><font color="#CC0000">
              > >WebServers="vindev1"</font></b>
              > ><br> URI="DefaultWebApp_vindev1"
              > ><br> />
              > ><br> </Application>
              > ><br>
              > ><p>Here vindev1 is my domain's name..
              > ><br><br>
              > >BTW, this is not a clustering question. So you better
              > >post it to servlet
              > >newsgroup where you get much
              > ><br>better answers..
              > ><p>Kiran G wrote:
              > ><blockquote TYPE=CITE>I forgot to give these details about
              > >the problem.
              > ><br>I am running this cluster using WebLogic 6.0 on a
              > >SUN sparc machine.
              > ><p>The error text given in my original posting appears
              > >in the managed
              > ><br>weblogic server's log. The exception that the client
              > >receives while
              > ><br>lookup is :
              > ><p>javax.naming.CommunicationException. Root exception
              > >is java.rmi.UnmarshalException:
              > ><br>failed to unmarshal class java.lang.Object; nested
              > >exception is:
              > ><br> java.lang.ClassNotFoundException:
              > >RingoutSessionBeanHomeImpl_WLStub
              > ><br>java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > ><p>"Kiran G" <[email protected]> wrote:
              > ><br>>
              > ><br>>Can somebody please throw some light on this error?
              > ><br>>
              > ><br>><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP>
              > ><HttpServer5173817,null
              > ><br>>default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              > ><br>>HTTP/1.0". This should not happen unless the default
              > >context
              > ><br>>failed
              > ><br>>to deploy.>
              > ><br>>
              > ><br>>Myself and lot of other people in my team are getting
              > ><br>>this error
              > ><br>>when using beans in a cluster.
              > ><br>>
              > ><br>>I am getting this error consistently whenever I make
              > >some
              > ><br>>code
              > ><br>>changes in my bean class (not interface changes)
              > >and redeploy
              > ><br>>it
              > ><br>>and try to lookup through a stand-alone client.
              > ><br>>
              > ><br>>The only way I could find to overcome this problem
              > >is:
              > ><br>>1) edit config.xml to remove the Application element
              > >completely
              > ><br>>corresponding to the bean
              > ><br>>2) remove jar files from the applications directory
              > ><br>>3) re-deploy and run the client again.
              > ><br>>
              > ><br>>Thanks a lot
              > ><br>>Kiran Ganuthula
              > ><br>>
              > ><br>>
              > ><br>>
              > ><br>>
              > ><br>></blockquote>
              > ></html>
              > >
              > >
              [att1.html]
              

  • Navigation is not happening Tab Strip control after execution of PAI

    Hi All,
    I'm facing a problem in my dialog program.
    Here I've a normal screen(200) which contains the tabstrip(3 tabs). Each tab has a subscreen area
    (named header_ref1, line_ref1 and scedule_ref1 respectively).
    screen 200's flow logic:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN header_ref1 INCLUDING sy-repid '0210'.
      CALL SUBSCREEN line_ref1 INCLUDING sy-repid '0220'.
      CALL SUBSCREEN schedule_ref1 INCLUDING sy-repid '0230'.
      MODULE status_0200. "<- Here I've written the logic for changing the tab
    "like when okcode header->first tab,  line ->second tab
    PROCESS AFTER INPUT.
      CALL SUBSCREEN header_ref1.
      CALL SUBSCREEN line_ref1.
      CALL SUBSCREEN schedule_ref1.
      MODULE user_command_0200.
    When I simply navigate between these tabs(without entering anything), its fine and when I enter something in the first/second tab's subscreen and navigate to the other tabs then also navigation is fine.
    But when I enter something in the second tab nad trying to navigate to other tabs its not getting navigated. My second tab contains a table control.
    To summarize, after the PAI execution of second tab navigation is not happening between the tabs
    Helps to solve this problem are highly appreciated.
    thanks in advance.
    Regards,
    Manoj Kumar P
    Edited by: Manoj Kumar on Jun 18, 2009 10:37 AM

    Hi,
    I suggest to do paging not in PBO but in PAI.
    PROCESS AFTER INPUT.
      MODULE change_tab.
    MODULE change_tab. INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      my_tabstrip-activetab = save_ok.
      CASE save_ok.
        WHEN 'FC_TAB1'.   "<- function code of first tab
          g_dynnr = '0210'.
        WHEN 'FC_TAB2'.    "<- second
          g_dynnr = '0220'.
        WHEN 'FC_TAB3'.    "<- third
          g_dynnr = '0230'.
      ENDCASE.
    ENDMODULE.                  
    If that doens't help, remove your table control and check if that influence paging the tabs. If yes, then it has to be something with this table control i.e. mandatory fields are not filled or similar, which doesn't allow to leave the screen.
    Regards
    Marcin

  • I am not able to play videos from YoyTube, or videow posted on my blog. That does not happens with explorer, where videos are playing normal

    I am not able to play videos from YouTube, or videow posted on my blog, when I use Fire Fox. That did not happened before the 3.6.14 and allthouhg you informed us that with the 3.6.15 the problem will dissapear, it does not happen. Take into consideration that, with explorer, everything is running fine. I am a long time user o firefox and I donnot want to change. Please give me advise how to solve thiw problem. Tanhks in advance

    Hi, My computer shuts down when I try to do any thing with graphics, ie, watching streamed video or looking at my photo's. this is a recent problem, anyone got any idea's

  • Solved yet it does not appear to be so, when looking at the Category

    Hello : )
    This topic "Missing content - what's happening here?" in Safari.
    http://discussions.apple.com/thread.jspa?threadID=652524&tstart=0
    Is indeed Solved yet it does not appear to be so when looking at it in the Safari category. Little software bug ?
    http://discussions.apple.com/category.jspa?categoryID=169
    Thank you.
    Eme

    Hello Ali,
    Many thanks for the reply. The OP speaks of marking it solved first and making the helpful stars disappear, but the helpful are there. so I just wondered.
    http://discussions.apple.com/message.jspa?messageID=3164852#3164852
    Yes, I realize the helpful & the solved stars will remain if then marked
    not answered.
    Thank you.
    Eme;~[)

  • Sorting not happening in Union reports

    Experts, we upgraded from 10g to 11g. I have a union report on which Sorting was working in 10g but sorting is not happening in 11g. Is anybody aware of it how to solve or is there any parameter in any of the config files which can make it work?
    thx,
    parag

    Give more extended information please. What is 11g version? Is it excluded column? Does column have an alternative sort column?

  • HT1430 My  IPAD Mini touch screen is not responding, it is showing a message icloudBackup but the back up is not happening and the system seems to be hanged

    My  IPAD Mini touch screen is not responding, it is showing a message icloudBackup but the back up is not happening and the system seems to be hanged?

    Perform a "hard reset" on the device by pressing down and holding the home button and the sleep/wake button for up to 30secs. until you see a black screen with the Apple logo, then release.
    Then test to see if it solved the problem.

  • When I try and play music on my iPhone downloaded from iTunes it says 'this URL is not found on this server'. This does not happen when I play the same music through my iPad. Can anyone help?

    When I try to play music downloaded from itunes on my iPhone 4S it says 'this URL is not found on the server'. This does not happen when I play the same music on my iPad. The music plays fine. The message also comes up when I try and login to iTunes on my iMac. Can anyone help?

    I too am having the same issue as the OP.
    Your USER AGENT information is Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18
    Every webserver that receives a request from your browser is able to determine the HTTP USER AGENT information unless it has been removed by some software (e.g. firewall) before the request was trasmitted.

  • I have added a website as safe for popups.when I select an item it takes me to a page that says I have been logged out. does not happen with other browsers

    I have selected my website as safe. While on the site I fill out a form, then when going to the next page to view results, Firefox says I've been logged out. I hit the back button and go back to the form fill in page. It will not take me to the page of results. This does not happen in other browsers.
    This also happens with other websites.

    Hi,
    You can consider the [https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems Reset Firefox] feature via '''Help''' ('''Alt''' + '''H''') > '''Troubleshooting Information'''.
    (To revert to the previous profile, close the new profile, start Firefox and choose the '''*.default''' profile. While the [https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles Profile Manager] is open, you can also delete the newly reset profile (the one containing random numbers)).
    [https://support.mozilla.org/en-US/kb/Managing-profiles Managing profiles]
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]

  • I can no longer open my Comcast email when I launch from Firefox - it takes me to the email preview page but will not allow me to open the inbox . Does not happen with Internet Explorer.

    This started last month - when I go to my comcast account, I'm able to log on and view my account but can not open my email inbox. When I enter my user name and password, I'm taken to the "Email Preview" page so that I can see a partial view of the inbox but when I click on "View Entire Inbox" it jumps to a page showing that it's loading but goes right back to the preview page - I can't open any of the emails. This does not happen when I use Internet Explorer or Firefox on my older laptop.

    Did you find out what addon?

  • WHEN I USED TO CONNECT INTERNET FROM MY IPHONE 4S PERSONAL HOTSPOT VIA USB, AN ICON IN THE NETWORK PREFERENCE NAMED "IPHONE" GETS OPENED.... BUT NOW THIS IS NOT HAPPENING AND I AM NOT ABLE TO CONNECCT PERSONAL HOTSPOT VIA USB CABLE. PLEASE HELP ME OUT

    WHEN I USED TO CONNECT INTERNET FROM MY IPHONE 4S PERSONAL HOTSPOT VIA USB, AN ICON IN THE NETWORK PREFERENCE NAMED "IPHONE" APPEARS.... BUT NOW THIS IS NOT HAPPENING AND I AM NOT ABLE TO CONNECT PERSONAL HOTSPOT VIA USB CABLE. PLEASE HELP ME OUT???

    Please don't shout!   Using all uppercase means shouting on the internet.  If your keyboard is stuck please say so, otherwise people will think you are being obnoxious.
    Now the first question is, when you are saying connecting to personal hotspot, have you always been using the iPhone to connect to the internet?   Are you someplace where the only place to connect is available via tethering to the iPhone's celluar network?  Or do you have other options?

Maybe you are looking for

  • MacBook HDD dead; looking for a replacement if data recovery isn't possible

    The HDD in one of my MacBooks has died - ticking at startup, and the file folder with the exclamation point ( ! ) on it upon boot. This just happened randomly one day, as I was watching a movie and the movie froze. I shut the computer down for the ni

  • Paid for video, download didn't complete, and itunes won't let me finish.

    Last night I bought the video "Dare" by the Gorillaz and itunes crashed while I was downloading the video... When I restarted itunes and checked for purchases, it said I had none waiting to be downloaded. I contacted the music store and they pretty m

  • No TDM in LV 8.2?

    I had to re-code all my TDM data storage VIs to the TDMS type when upgrading fro 7.1.1 to 8.2.1.  The TDM VIs originally sat there with the hour glass cursor flashing and the broken arrow revealed an "unable to compile" error.  After cleaning up I tr

  • Error installing premier elements 10 on mac pro

    installation error when installing adobe premier elements 10 on new mac pro: Receive the following errors: Error DW050:  Smartsound 3 install failed Error DW050: Photoshop Camera Raw fr Elements 10 install failed Error DW050:  Adobe premiere elemets

  • h:messages layout="list" ... but no list

    Hi I want to display all form error messages at once as a list so I have <h:messages layout="list"> at the top of my form. According to docs layout attribute is explained as: The type of layout markup to use when rendering error messages. Valid value