Command not found solution for Linux timed tasks

Time:2020-4-13

Command not found solution for Linux timed tasks

这里写图片描述

The first step is to view / etc / Profile:
这里写图片描述

The second step is to modify / root /. Bash “profile:
这里写图片描述
Add command path at the end
这里写图片描述

Step 3: modify the shell script:


#!/bin/bash

. /etc/profile
. /root/.bash_profile

The following is added to the script:

这里写图片描述

Thank you for reading, hope to help you, thank you for your support!

Recommended Today

SQL exercise 20 – Modeling & Reporting

This blog is used to review and sort out the common topic modeling architecture, analysis oriented architecture and integration topic reports in data warehouse. I have uploaded these reports to GitHub. If you are interested, you can have a lookAddress:https://github.com/nino-laiqiu/TiTanI recorded a relatively complete development process in my hexo blog deployed on GitHub. You can […]