Forums Help & support Issue with scheduled task

This topic contains 1 reply, has 2 voices, and was last updated by  Svante 5 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12556 Reply

    Federico

    Hello,

    We have a script which basically performs the steps below. There is a scheduled task which executes the script.

    – Create a zip file.

    – Encrypt the zip file. It uses AxCrypt to perform this step.

    – Copy the encrypted file to Amazon S3.

    It is a Windows 2012 R2 environment. If there is a session logged in the server, the process works perfectly. If there is no session logged, the task fails on the encryption step. We changed many settings on the scheduled task and tried with a batch CMD and with PowerShell. However, it is still not working.

    Is there any suggested workaround?

    Thanks in advance.

    #12557 Reply

    Svante
    Spectator

    Hello Federico,

    You don’t say, but I’m guessing you’re using AxCrypt 1.x for this. Version 1.x is unsupported and unmaintained unfortunately. Even more unfortunately – AxCrypt 2.x does not yet support a command line client… You can integrate via source code inclusion, but it requires C#/.NET programming skills.

    Allt his being said – there’s no fundamental reason why you could not use AxCrypt 1.x as you intend. You do have to handle the password in one way or another, typically passing it from an environment variable to the command line.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Issue with scheduled task
Your information: