Cron.hourly jobs not being done

Hi.
I've just completed a clean re-install. However a script I placed in /etc/cron.hourly only gets run every two hours. At first I thought I had made a mistake with the script so I added a 'logging' entry in the script and also in the file /etc/cron.hourly/adjtime. These and the /var/spool/cronstamps/root.sys-hourly entry confirm that they are only being run every two hours. I  have been monitoring this for about 20 hours over three days and it is consistant.  dcron version is 4.4-2. I have no idea what is wrong or how to sort it.
TIA
StewartT

ataraxia wrote:It's a bug; Jim knows about it. This started happening for me at the daylight savings time switch. I'm working around it myself by not using @hourly but instead setting an old-fashioned schedule with an exact minute.
Thanks for the reply. Of coarse the UK went to summer time last weekend. I'll use the same work around until it's fixed.
Thanks again.
StewartT

Similar Messages

  • HT201274 i tried to erase all content and reset settings from the device option.it is taking too long and its been 15 hours but not yet done.its showing a skeleton sigh with buffering and sometimes flipping to apple sign.

    i tried to erase all content and reset settings from the device option.it is taking too long and its been 15 hours but not yet done.its showing a skeleton sigh with buffering and sometimes flipping to apple sign.

    nabidhadi wrote:
    .its showing a skeleton sigh with buffering and sometimes flipping to apple sign.
    You iPod has been jail broken.  Unfortunately you are on your own here. I can offer that you need to find out which method and software was used to JB.
    Good luck...you're gonna need it....

  • Control chart limit calculation not being done

    Hi
    I have maintained MIC, sampling procedure and Insp plan for a char and have made two lots with them. Though charts are being displayed correctly, control limit calculation is not being possible. Msg is "Control limits for track 1 could not be calculated".
    What customization should be made for this?
    And in QGC1/2/3, only one insp lot is there, what went wrong?

    Dear Gajesh,
    I tried with status 3. When i remove lot created start date, it shows me the fist lot with which we statred SPC in SAP. But If i put any specified start date, it returns no value. Does that mean with status 3 it will show the very 1st lot with which SPC usage started? Then what are the cases for status 1 and 5?
    My sampling procedure setting is:
    sampling type: Fixed sample
    Valuation mode: SPC inspection
    W/O inspection point
    Sample size: 1
    Chart type:115 Shewhart chart for X bar/USA
    Inspection plan setting is:
    SPC criterion : 020 task list char/materia
    Base qty : 1KG
    Thanks!

  • Jobs not being activated.

    I am triggering a job via infopackage and noticed that in R/3 the job is in Release status, how do i make this Active?

    Hi,
    Select the released job and from the job menu, select released -> Scheduled.
    Now select the scheduled job and go to job->change. Here, change the start condition to immediate and save. If any work processor is available, it becomes active. Otherwise, it starts to wait for one.
    Thanks and Regards
    Subray Hegde

  • Please help with cron hourly

    I have following script in /etc/cron.hourly
    #!/bin/sh
    su -l archie -c "ssh -o TCPKeepAlive=no -o ServerAliveInterval=10 -o ExitOnForwardFailure=yes -n -N -T -R 10002:localhost:22 [email protected]"
    It's doing reverse ssh connection to linux.box, problem I have is that when it runs it doesn't go to the background any my cron.hourly job just stays in the process list:
    root      1904  0.0  0.2   2776  1188 ?        S    17:01   0:00 /bin/sh /usr/sbin/run-cron /etc/cron.hourly
    root      1905  0.0  0.2   2776  1152 ?        S    17:01   0:00 /bin/sh /etc/cron.hourly/reverse_ssh
    root      1906  0.0  0.1   2200   864 ?        S    17:01   0:00 su -l archie -c ssh -o TCPKeepAlive=no -o
    archie    1907  0.0  0.4   6072  2480 ?        R    17:01   0:00 ssh -o TCPKeepAlive=no -o ServerAliveInterval=10 -o
    How do I run reverse_ssh script so that run-cron releases it?
    Thanks very much for your help
    Regards,
    Tomas

    1. Doing this:
    command &
    exit 0
    will always be the same as doing this:
    command &
    2. You could include your entire script in the crontab line. But of course you don't need to.
    3. Since you're backgrounding the ssh tunnel (whether using '&' or by using the '-f' flag), cron will see the process _it_ started as having completed. So an hour later, it won't refrain from running the job again (it would refrain if the process it started were still running). So you're going to get repeated attempts to open this tunnel, even if it's already open. I guess they'll fail, since port 10002 on your server is already bound to the existing tunnel. But it may generate lots of error output? Are you having the output of your cron jobs mailed to the local owner of the job (this is the default)?
    4. If you wanted to keep the tunnel open all the time, and reopen it when it fails, what you're doing is one way to achieve that. If on the other hand you just want the tunnel open for a short time, you could change your ssh line from
    ssh -o TCPKeepAlive=no -o ServerAliveInterval=10 -o ExitOnForwardFailure=yes -n -N -T -R 10002:localhost:22 [email protected] &
    to
    ssh -o TCPKeepAlive=no -o ServerAliveInterval=10 -o ExitOnForwardFailure=yes -n -f -T -R 10002:localhost:22 [email protected] sleep 10
    This replaces the no-command switch "-N" with the command "sleep 10", and uses the "-f" flag instead of "&". It will hold the tunnel open for 10 seconds. If some other process uses the tunnel within 10 seconds, tunnel will continue to stay open until that process (and all other processes) stop using it. You can make the sleep for longer if you like.

  • Cron job not running - script uses rsync, ssh (with id_rsa)

    Does anyone know how to get cron to run a rsync/ssh script which uses id_rsa for passwordless logins?
    I have a backup script I have slaved for months over that works wonderfully when running it from the command line.
    It uses rsync and connects with SSH (passwordless using ssh keys). I have setup id_rsa and id_rsa.pub for passwordless logins (this is my user account, and connects using root@ to the server)
    As stated all works find when run from the command line. But when I setup a cron job to run this file (exact same line I run from the command line) it does not execute. Actually, it does run, as I have an email notifiction which sends to me. It is just the rsync/ssh part that does not run.
    I have spent days and days trying to figure it out. No error messages occur, nothing.  Took me a while to find out cron is emailing the user account on Lion the messages (not to a proper email address).
    The error shows a permission denied, which I believe to be the cron user cannot use the id_rsa/ssh connection.
    Cron is running the script as my user, the same I use on the command line. I even tried copying the id_rsa to the root user .ssh folder in case cron is running as root but that does not work either.
    So does anyone know how to get cron to run this rsync/ssh script which used id_rsa for passwordless logins?
    Thanks a lot

    YES! Got it working, finally!
    So the issue is indeed cron/launchd not being able to access the ssh-agent which holds the key.
    So this is the solution...
    Download keychain for Mac:
    http://www.funtoo.org/wiki/Keychain
    Then once its installed and configured, the script to run needs this added to the top:
    eval `keychain --noask --eval id_rsa` || exit 1
    Note I am using id_rsa whereas keychains instructions refer to id_dsa so I just changed it and it works OK.
    When the script runs the first time it asks for the key password. Then it works from then on.
    What I do not know yet is will I need to re-enter the password when I logoff/logon again. That will cause an issue as I auto restart the Mac every day which means if I am off for a few days backup will stop (can you see the madness in this issue!).

  • SQL Server Agent - Job History not being recorded (SQL Server 2005)

    I have been trying to get to the bottom of an issue with SQL Server Agent not recording any job history. I am using SQL Server 2005 on a single Windows Server 2008 machine (i.e. no other domain controllers/active directory servers).
    The SQL Server Agent service is configured to 'Log On As' NT user account 'sqlagent'. The jobs themselves are executed successfully (all 'Transact-SQL' type steps actually use the 'sa' account) however the there is no actual job history to be found for any
    of the jobs -- in the SQL Activity monitor, the 'Last Run Outcome' is always 'Unknown' and the 'Last Run' date is always 'Never' for all jobs; in the SQL Job History Viewer there are no entries for any instances of a job being executed.
    The 'sqlagent' NT user account ia a member of the 'Administrators' NT group; the 'Administrators' group appears under Security > Logins on the database server. I have another server that also uses the same setup with a 'sqlagent' NT user account, on that
    database server the 'sqlagent' user account appears under Security > Logins and the SQL job history works correctly. I have attempted to add the 'sqlagent' to the Logins on the affected server using the SQL Server Surface Area configuration but this operation
    returns an error, detailed below.
    Additionally, I have attempted to use the built-in NT system account 'NETWORKSEVICES' to run the SQL Agent Service but this also results in exceptions in the error log and no job history being recorded. The entries in the error logs are very similar to those
    from the 'sqlagent' NT user account but instead the user is referred to as 'NT AUTHORITY\ANONYMOUS LOGON' in the error logs, again these are detailed below.
    Many thanks in advance for anyone's time and help with this issue!
    Arthur
    The following errors are raised in SQL Server Agent > Error Logs each time a job is executed:
    Date 11/11/2012 18:30:01
    Log SQL Agent (Current - 11/11/2012 18:30:00)
    Message
    [298] SQLServer Error: 18452, Login failed for user ''. The user is not associated with a trusted SQL Server connection. [SQLSTATE 28000]
    Date 11/11/2012 18:30:01
    Log SQL Agent (Current - 11/11/2012 18:30:00)
    Message
    [382] Logon to server 'XXXXXXXX' failed (ConnAttemptCachableOp)
    If the SQLAgent service is configured to use the NT system account 'NETWORKSERVICE' then the following errors are returned instead:
    Date 29/10/2012 18:30:15
    Log SQL Agent (Archive #1 - 29/10/2012 18:38:00)
    Message
    [298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [SQLSTATE 28000]
    Date 29/10/2012 18:30:15
    Log SQL Agent (Archive #1 - 29/10/2012 18:38:00)
    Message
    [382] Logon to server 'XXXXXXXX' failed (ConnAttemptCachableOp)
    I have tried granting the 'sqlagent' NT user account with SysAdmin Server Role privaledges using the SQL Server User Provisioning tool in SQL Server Surface Area Configuration, but this always throws the following, similar error:
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. (Error: 18452)
    ===================================
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18452&LinkId=20476
    Server Name: 127.0.0.1,1344
    Error Number: 18452
    Severity: 14
    State: 1
    Line Number: 65536
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at sqlprov.SysAdminServerRole.ProvisionInstance(Instance instance, String userName)
       at sqlprov.ProvisionTask.Provision(Instance instance, String userName)
       at sqlprov.MainForm.ProvisionTasks()

    Hi Rama,
    Thanks for your reply. I have run the query you specified and can see only one entry with "NTLM" in the auth_scheme column, all of the rest have "SQL". It figures that the entry with "NTLM" is relating to the one NT user account that can successfully log
    in to the service (as mentioned in my reply to Nag above, this is the NT user account that installed the service on the machine). I have also executed the same query on the other machine that I mentioned in my original post and this contains two "NTLM" entries,
    I'd assume that these relate to the NT user that installed the software and the correctly working "sqlagent" NT user account that is correctly logging the job history on that machine.
    I think the problem is very much to do with granting access to new NT user accounts, as per the KB article that you have quoted above. In this case, it is not relating to scenarios 1 or 2 as these relate to SQL Server logins and this issue is about a Windows
    Authentication login. As I mentioned to Nag above, I am unable to grant any NT user accounts with access to the service however the NT accounts are all defined locally on the same machine as the SQL server is installed (i.e. there is no domain controller,
    active directory controller, etc) so I don't understand how the Windows login cannot be verified.
    Any further advice on the issue would be greatly appreciated, please let me know if there is any more information I can provide to help diagnose the problem.
    Many thanks!
    Arthur

  • My iPhone 5c is not being recognized by my mac except to charge it. I'm up to date on all updates and don't know what else to do. I have restarted several times. I have even tried to update my iPhoto and I can't even do that with iPhoto 9.0, but can't.

    My Iphone 5c is not being recognized by my Mac computer. I have done all of the upates, restarted several times and I'm not sure what else to do. I have searched and searched and searched and have come up with nothing. Also, my Iphoto can not be updated. I'm still using version 8. something, and it won't update without this update and that update. It needs 9.0 but I can't find that download anywhere. The only one that I can find is 9.1. That won't update. Is there anything that I can do, or should I just bite it and take it to apple to get looked at?

    Does iTunes not see the phone?
    If not, make sure you're running the current version of iTunes.
    If you are running the current version and it still doesn't recognize it, see this: http://support.apple.com/kb/TS1591?viewlocale=en_US&locale=en_US
    As for iPhoto, you will have to purchase a newer version. It's not a free upgrade. Or, you can use Image Capture, which is built into OS X, to import the photos.

  • I am trying to set up iTunes match on my apple tv, but it just keeps showing that it is loading, it has been running for over an hour, what can be done here, it has gone with no problem on my iPhone, iPad but not the tv

    i am trying to set up iTunes match on my apple tv, but it just keeps showing that it is loading, it has been running for over an hour, what can be done here, it has gone with no problem on my iPhone, iPad but not the tv

    Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.

  • This is a stupid question but I needed to ask because I don't want to go there and not being able to buy it, but can I get the iPhone 5 brought straight there when I go to an apple store?

    This is a stupid question but I needed to ask because I don't want to go there and not being able to buy it, but can I get the iPhone 5 brought straight there when I go to an apple store?

    And I meant go to the apple store physically without preordering it online, and I meant the Southampton one. So could I just stroll in apple store and buy a iPhone 5 in Southampton apple store and buy the iPhone 5 straight away? Because I didn't want to have to wait? I just want to go in and buy it and go out with it, if you guys get what I mean? And felipeV if it is in stock could I just buy it and leave with my iPhone 5?

  • HT2534 in my iphone5 'none' option for credit card is not being appeared. May be because of software upgrade or wot it is really not good as i don't want to share my credit card number.

    the 'none' option under payment methods is not being appeared in my iphone 5 as i don't want to share my credit card info. and my id stuck over that point as i am not abble to skip this step and it is a must option to select a credit card type and give a real credit card details. This is really not good.

    You have to enter your credit card number and some amount would be debited from your account(60 rs in india)
    After registration, You can Go to
    1 Settings
    2.Itunes&App Store
    3.Click on your apple id .
    4.Select View Apple ID
    5.Slecet Payment Info
    And You can find NONE here.
    Please select NONE to delete your credit card numbe r from the list
    But While registering you cant find NONE, you have to enter the cc number.
    Thank You
    Tejas

  • Process order - The hour details are not being pulled through

    Hi friends,
    Details of Issue:
    COR3 - Our Production Department have entered hours into COR6N as usual but these hours are not pulling through to the actual section in costs analysis screen.
    Reason:
    CORT - Process order xxxx , counter 36 & 37 - indicates hours are captured during process order confirmation.
    and
    C203 - We have found that the Activity Type ZFOH07, which is showing the consolidated value of all the other activity types like ZLBR06, ZVOH06 & ZFOH06, in cost analysis report. In the process order xxxx master recipe xxxx is being used, in which this single activity type ZF0H07 is assigned multiple times. Hence after the confirmation of the process order, all values related to other activity are following into a single activity type ZFOH07.
    Solution:
    C202 - However, when I tried to change the Master Recipe, it is not in disply mode.
    CORS, COR2 - Without make the changes to recipe, how can we proceed to cance all comfirmations and read PP master data in process order.
    Regards,
    Venkata Raju

    hi
    use CORS - Cancel

  • My apps are not being updated when pressing the update all button. It just says installing and no update is being done., my apps are not being updated when pressing the update all button. It just says installing and no update is being done.

    my apps are not being updated when pressing the update all button. It just says installing and no update is being done., my apps are not being updated when pressing the update all button. It just says installing and no update is being done.

    Must be serious because you have stated the problem 4 times now.
    Here are a number of things that you can try and maybe one of them will help.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    You can also try going to the App Store, find an app that needs an update, tap on the app icon to bring up the description page, then tap on install that way, rather than using the Update option from the app updates screen.
    And ... You can always install the updates in iTunes on your computer and then sync them to the iPad.

  • [svn:osmf:] 14871: Fixing anchoring 'right' and 'bottom' properties not being applied on items that don't have a width/ height and position set.

    Revision: 14871
    Revision: 14871
    Author:   [email protected]
    Date:     2010-03-19 01:05:54 -0700 (Fri, 19 Mar 2010)
    Log Message:
    Fixing anchoring 'right' and 'bottom' properties not being applied on items that don't have a width/height and position set.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/layout/LayoutRenderer.as

    If you're just doing it in a back and forth or spiral fashion, you don't need to check whether a square's been filled in. You just go from a start point to an end point. Those points and the squares in between are determined by simple arithmetic.
    If you're doing it randomly, I wouldn't use the GUI elements themselves. I'd have, for example, and array of booleans that tells whether each square has been filled in.

  • HT203433 Download of song will not complete has been over an hour and I have done all the suggested troubleshooting

                                                                Download of song will not complete has been over an hour and I have done all the troubleshooting suggestions to correct

    Hi Lisa Wozniak,
    Are you on a slow Network Connection? I would recommend you to Clear the browser Cache and History and  then try again or try using a different browser on a different Network Connection.
    Let me know if it works or not.
    Regards,
    Rahul Tyagi

Maybe you are looking for

  • Sometimes I can open files in Camera Raw; sometimes not.

    While browsing in Bridge CS3, using a Wacom tablet, I can right click on image files (jpg, tif, etc.) and, with the drop-down, select "Open in Camera Raw...." Sometimes. Sometimes the option is not available for use on a jpg, tif, etc. file. No ryhme

  • Exporting PDF at non-default resolutions?

    I'm working in Pages 09 (ver. 4.3). My default export choices of PDF are Good, Better, Best.  Good is not good enough resolution.  Better is too high a meggawattage.  Is there any way I can do something in between the two? Or perhaps export as a 'Bes

  • Datagrid ComboBox data repetition

    I have made a datagrid and a column which has a ComboBox control which references a fixe length and data array to display the dropdown in the grid column. The problemis this array has to be repeated for every row of data in the grid. Is there anyway

  • Cant restore backup as ipod disconnects

    Hi. I took a backup of my ipod through iTunes and saved on Laptop. I factory reset but I cant restore backup to ipod as I get a pop up error "ITunes could not restore the ipod 'name' because the ipod disconnected". Has anyone any idea why it is disco

  • Removing the mandatory mark for the postal code in add new ship to address

    Hello All, Is there any configurtatoin available to make the postalcode optional in add new ship to address page for a particular country?. What will be the bestway to do this?. Regards Shanto Aloor