Hi,
You don't need to change a single line in your code.
While running your script itslef, you can define with which user your script should run.
It is not even 5 mins jobs, you basically need to know the right command which should be used.
Message me so that I can help you.
Technical Proficiency:
Scripting Language - Shell, Python and AWK
Operating System - Linux (Centos, Fedora, Ubuntu)
Monitoring Tools - Nagios, AWS CloudWatch
Database - MySQL
CI/CD Tools - Jenkins
Log Management - Logentries, ELK & AWS CloudWatch Logs
Development Tools - Git, Jira
Configuration Management Tool - Ansible
Containerisation - Docker
Container Orchestration - Docker Swarm
Cloud Infra - AWS (ELB, VPC, VPC Peering, EC2, S3, RDS, RDS Read Replica, CloudWatch, Auto Scaling Group, Security Group, IAM)
Web Servers - Nginx, Apache