1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Cron Error "code 1"

Discussion in 'Plesk 10.x for Windows Issues, Fixes, How-To' started by aculine, Jul 4, 2011.

  1. aculine

    aculine New Pleskian

    15
    85%
    Joined:
    Mar 25, 2011
    Messages:
    9
    Likes Received:
    0
    Hi,
    on Plesk 10.2 I launch a scheduled action every 6 hour like this:
    Exe: "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
    Arguments: http://mysite.com/dbase/import.asp

    This cron upgrade an access db from ftp uploaded txt files.

    If I launch this url form browser works fine, but if I sheduled it, plesk return me an e-mail like this:

    Running task: "C:\Program Files (x86)\Internet Explorer\iexplore.exe" http://mysite.com/dbase/esporta.asp
    Started: Tue Jul 05 08:23:29 2011
    Ended with code 1: Tue Jul 05 08:23:34 2011

    What does it code 1? Why sometimes the sheduled action work fine and sometimes it broke? And I have to delete the action and recreate it to be working?

    Help me, please...
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Do you have any related errors in Event Viewer?
     
  3. aculine

    aculine New Pleskian

    15
    85%
    Joined:
    Mar 25, 2011
    Messages:
    9
    Likes Received:
    0
    no specific error....
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Most probably that this issue related to permissions which can be tuned in admin\php.ini but I'm not sure. Investigation directly on your server is required. Contact support team in this case.
     
  5. aculine

    aculine New Pleskian

    15
    85%
    Joined:
    Mar 25, 2011
    Messages:
    9
    Likes Received:
    0
    ok, thank you. I will contact support team.
     
Loading...