码迷,mamicode.com
首页 >  
搜索关键字:mutt 邮件 报警 shell sendmail    ( 43809个结果
使用redis实现邮件发送
return [ 'connector' => 'Redis', // Redis 驱动 'expire' => null, // 任务的过期时间,默认为60秒; 若要禁用,则设置为 null 'default' => 'default', // 默认的队列名称 'host' => '127.0.0 ...
分类:其他好文   时间:2021-04-14 12:15:40    阅读次数: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
gyp ERR! stack Error : can't find python executable "python",you can set the PYTHON env variable.
vue中安装node-sassnpm install node-sass --save-dev1出现上面图中问题 解决办法:vscode里,打开终端,输入下面的内容先输入(在管理员模式下打开) npm install --global --production windows-build-tools ...
分类:编程语言   时间:2021-04-14 11:49:56    阅读次数: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
【CNVD-2021-10543】MessageSolution 邮件归档系统EEA 漏洞复现
fofa: title="MessageSolution Enterprise Email Archiving (EEA)" 访问后: exp: https://ip/authenticationserverservlet/ 直接登陆就可以了 ...
分类:其他好文   时间:2021-04-13 12:51:54    阅读次数:0
linux shell命令之非交互式Shell脚本
vi no_interaction_script1.sh #!/bin/bash #提示用户该脚本3秒后退出echo "This script will quit after 3 seconds. " #计时3s sleep 1echo -n "."sleep 1echo -n "."sleep 1 ...
分类:系统相关   时间:2021-04-13 12:16:49    阅读次数:0
linux shell之数组的特殊用法
vi string_array.sh #!/bin/bash city=(Nanjing Atlanta Massachusetts Marseilles) #建立一个简单的数组echo "Extracting Substring" #演示抽取子串功能echo ${city[*]:0} #抽取整个数 ...
分类:编程语言   时间:2021-04-13 12:08:59    阅读次数:0
mongodb 聚合查询
mongo shell 操作 aggregate 使用mongo db 的 aggregate 进行聚合操作,改操作传入的参数是一个数组 aggregate 操作的参数 match 相当于 mysql 的 where,传入的是筛选条件 示例: {$match : { 'os': 'win' } } ...
分类:数据库   时间:2021-04-13 12:04:07    阅读次数:0
43809条   上一页 1 ... 21 22 23 24 25 ... 4381 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!