Recent content by TheRagnarok

  1. T

    PowerShell script on Centos fails to run via cron

    Also, the script fails to run as a normal command /usr/bin/pwsh /path/to/script I have other PowerShell scripts that run absolutely fine in the above manner. It is Just this script that fails because this PowerShell script calls multiple other Powershell scripts. I think this might be the reason.
  2. T

    PowerShell script on Centos fails to run via cron

    SELinux is disabled. [Server~]$ getenforce Disabled [Server~]$ No errors the script simply exits and I guess it fails to execute other powershell scripts. Tried strace getting no clue.
  3. T

    PowerShell script on Centos fails to run via cron

    Hello everyone I have a PowerShell script that is working absolutely fine when we run manually on centos. (Enter PWSH shell and run the script) But when I schedule cron for the vCheck script it fails and the script does not run. Can anyone please suggest what can be done to schedule the...
Top