Search results

  1. I

    How to pass the argument while we schedule the script in the cronjob

    Hi, I have a shell script to capture the thread dump and the CPU utilization. While executing the script it will prompt PID as an argument and is fine during manual execution. I wanted to schedule it in the cronjob and need to pass the PID as an argument. I've tried using the below way but it...
  2. I

    Issue with the Log Archival and Removal using Bash script

    Hi Team, I prepared one shell script to find a file and move and zip and archive. But while i execute the script it is throwing error for the files dated with 2019 as no such file or directory file name will be something like server.log.2019-07-10* : No Such file or Directory. However it is...
Top