Page 5 of 5 FirstFirst ... 345
Results 41 to 48 of 48

Thread: cron job not running

  1. #41
    ken yap NNTP User

    Default Re: cron job not running


    Ski_K2;1928063 Wrote:
    > contents of /home/pathp/Navicat/wine
    > 'here' (http://www.ibtest.com/wine.tar.gz)


    Sorry, I'm not going to dig through the entire distribution of wine to
    look for clues for you. There are limits to my generosity. I don't think
    it will tell us much anyway. What I really wanted was any specific
    settings in your environment variables for navicat.


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


  2. #42
    Ski K2 NNTP User

    Default Re: cron job not running


    navicat.output

    > fixme:actctxarse_depend_manifests Could not find dependent assembly
    > L"Microsoft.Windows.Common-Controls"
    > No protocol specified
    > err:imagelist:ImageList_ReplaceIcon no color!
    > err:imagelist:ImageList_ReplaceIcon no color!
    > err:imagelist:ImageList_ReplaceIcon no color!
    > err:imagelist:ImageList_ReplaceIcon no color!
    > No protocol specified
    > No protocol specified
    > No protocol specified
    > Application tried to create a window, but no driver could be loaded.
    > Make sure that your X server is running and that $DISPLAY is set
    > correctly.
    > Application tried to create a window, but no driver could be loaded.
    > Make sure that your X server is running and that $DISPLAY is set
    > correctly.
    > wine: Unhandled exception 0x0eedfade at address 0x0000:0x7b843f20
    > (thread 0009), starting debugger...



    --
    Ski_K2
    ------------------------------------------------------------------------
    Ski_K2's Profile: http://forums.opensuse.org/member.php?userid=6818
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


  3. #43
    ken yap NNTP User

    Default Re: cron job not running


    What is your current $DISPLAY anyway?


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


  4. #44
    Ski K2 NNTP User

    Default Re: cron job not running


    ken_yap;1928090 Wrote:
    > What is your current $DISPLAY anyway?


    $DISPLAY
    :0.0


    --
    Ski_K2
    ------------------------------------------------------------------------
    Ski_K2's Profile: http://forums.opensuse.org/member.php?userid=6818
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


  5. #45
    Ski K2 NNTP User

    Default Re: cron job not running


    ken_yap;1928077 Wrote:
    > Sorry, I'm not going to dig through the entire distribution of wine to
    > look for clues for you. There are limits to my generosity. I don't think
    > it will tell us much anyway. What I really wanted was any specific
    > settings in your environment variables for navicat.


    Please don't spen allot more time

    You've been too generous already!

    I'll keep banging on it!

    Maybe trying to start it using the regular wine install instead of the
    one packaged with navicat.

    I'm wondering about the ethics if paid software including this
    particular packaged wine anyway!

    They advertised this version the same as the pure linux version I
    purchased both assuming they were coded directly for linux.

    Only found out after purchasing and tring to install that they had
    packaged their own version of wine!


    --
    Ski_K2
    ------------------------------------------------------------------------
    Ski_K2's Profile: http://forums.opensuse.org/member.php?userid=6818
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


  6. #46
    ken yap NNTP User

    Default Re: cron job not running


    No, it doesn't look like there is anything special about their WINE.

    You have to get your DISPLAY to work in a cron job. It works for me
    when I do:

    1 1 * * * DISPLAY=:0.0 xterm

    An xterm pops up at that time. It ought to work for wine.

    Or you could go ahead and try to run it under a virtual frame buffer so
    that you don't have to be logged in when the cron job runs. The program
    you want is Xvfb and it's in the package xorg-x11-server-extra. You run
    it in the background like this:

    Xvfb :99 -screen 0 1024x768x16

    This creates a virtual X server in memory, and you can tell a GUI
    application to use it by doing:

    DISPLAY=:99 xterm

    for example.


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


  7. #47
    ken yap NNTP User

    Default Re: cron job not running


    PS: setting the DISPLAY works only for a command on the same line.
    Probably if you are running navicat inside a script you have to export
    it, so do:

    1 1 * * * export DISPLAY=:0.0; blah blah


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


  8. #48
    Ski K2 NNTP User

    Default Re: cron job not running


    ken_yap;1928115 Wrote:
    > No, it doesn't look like there is anything special about their WINE.
    >
    > You have to get your DISPLAY to work in a cron job. It works for me
    > when I do:
    >
    > 1 1 * * * DISPLAY=:0.0 xterm
    >
    > An xterm pops up at that time. It ought to work for wine.
    >
    > Or you could go ahead and try to run it under a virtual frame buffer so
    > that you don't have to be logged in when the cron job runs. The program
    > you want is Xvfb and it's in the package xorg-x11-server-extra. You run
    > it in the background like this:
    >
    > Xvfb :99 -screen 0 1024x768x16
    >
    > This creates a virtual X server in memory, and you can tell a GUI
    > application to use it by doing:
    >
    > DISPLAY=:99 xterm
    >
    > for example.


    Thanks Ken.

    I'll try these methods.

    Please don't spend any more time and thanks so much for all you help!


    --
    Ski_K2
    ------------------------------------------------------------------------
    Ski_K2's Profile: http://forums.opensuse.org/member.php?userid=6818
    View this thread: http://forums.opensuse.org/showthread.php?t=404918


Page 5 of 5 FirstFirst ... 345

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •