码迷,mamicode.com
首页 >  
搜索关键字:定时任务 环境变量 path 脚本    ( 93693个结果
KEIL中cannot open source input file "core_cmInstr.h"、type of input file 'Files' unknown 解决办法
在做STM32f405 移植过程中,编译出现了cannot open source input file "core_cmInstr.h": No such file or directory的错误,显然我们需要将core_cmInstr.h添加keil include path中,具体如下图: 查 ...
分类:其他好文   时间:2021-04-15 12:04:39    阅读次数:0
linux 系统时间同步问题(Centos7)
三步解决系统时间同步(Centos7) 第一步,时区设置 第二步,时间同步 第三步,定时任务 **************时区设置************ ##确认服务器上时区名称 timedatectl list-timezones |grep Shanghai ##设置时区名称 timedate ...
分类:系统相关   时间:2021-04-15 12:02:24    阅读次数:0
Python 配置绝对路径和相对路径(为了解决文件夹内class文件调用别的文件夹内class的问题)
相对路径问题: import os import sys # sys.path.append(os.getcwd()) # filename = "E:\python小脚本\测试导入\projects\project1\project1_1\Text1_1.txt" # 绝对路径 # filenam ...
分类:编程语言   时间:2021-04-14 12:44:36    阅读次数:0
等待事件enq:HW–contention说明及解决方法
一、今天在查看awr报告中,发现Top 5 Timed Foreground Events发现enq: HW - contention的等待事件; 二、enq: HW - contention的官方说明: The HW enqueue is used to serialize the allocat ...
分类:其他好文   时间:2021-04-14 12:39:09    阅读次数:0
linux shell 命令之trap之捕捉DEBUG信号
linux 使用trap命令进行调试 Shell脚本在搪行时,会产生三个所谓的伪信号。三种伪信号如下:信号名称 产生条件EXIT 从函数中退出,或者整个脚本执行完毕ERR 当一条命令返回非零状态码,即命令执行不成功DEBUG 脚本中的每一条命令执行之前 vi trapdebug.sh #!/bin/ ...
分类:系统相关   时间:2021-04-14 12:02:07    阅读次数:0
Linux shell脚本之判断进程是否在运行
vi proc1.sh #!/bin/bash #此脚本期望的参数个数argno=1 if [ $# -ne $argno ]then echo "Usage: 'basename $0' PID-number" >&2fi if [ ! -f "/proc/$1" ]then echo "Proc ...
分类:系统相关   时间:2021-04-14 11:51:22    阅读次数:0
Python 打印目录和目录下所有文件
#!/usr/bin/env python3#!-*- coding:UTF-8 -*- import osclass GetPath():# 获取所有目录 @staticmethod def get_dir(path): print("打印所有目录:") for root, dirs, files ...
分类:编程语言   时间:2021-04-14 11:51:07    阅读次数:0
linux shell命令之脚本要有足够的提示
一个有参数但无提示说明的脚本#login1.sh: 用户登录,判断用户输入的用户名和密码是否错误 vi login1.sh #!/bin/bash for ((i=0; i < 3; i++))do read username read password if test "$username" = ...
分类:系统相关   时间:2021-04-14 11:41:38    阅读次数:0
linux shell 之脚本优化
vi file_can_execute_or_not1.sh #!/bin/bash #判断输入的参数个数是否为两个 if [ $# -lt 2 ]then echo "The num of parameter is not right! " exit 0fi #判断用户输入的第一个文件是否可以读i ...
分类:系统相关   时间:2021-04-13 12:56:38    阅读次数:0
[Golang自学] Golang介绍
一、Golang开发环境搭建 1.下载安装jetbrain Goland IDE 下载地址:https://www.jetbrains.com/go/download/#section=windows 2.安装golang编译器 下载地址:https://golang.google.cn/doc/i ...
分类:其他好文   时间:2021-04-13 12:35:02    阅读次数:0
93693条   上一页 1 ... 54 55 56 57 58 ... 9370 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!