服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. configuration cron linux
  3. Crontab /etc/profile.d
Intereting Posts
谷歌云上的负载均衡node.js应用的最佳实践 Dovecot不报告SASLauthentication机制 多个站点使用端口而不是域 AWS IP转发 邮件(地址)标题和RFC2047编码中的特殊字符 为Windows Server RDP实施双因素身份validation 黑莓访问电源交换 晚上应该closures工作站吗? Nginx,基于post vars重写 尝试在Ubuntu Lucid Lynx上启动Apache2 mod_wsgi而无法成功运行Django max_execution_time(PHP)< – 什么时候开始计数? 是否有一个很好的Windows性能工具手册? 我需要一个专门的服务器来进行负载平衡吗? 本地pipe理员和政策 df正在报告LVM中的错误信息

Crontab /etc/profile.d

我有一个从交互式shell运行良好的crontab脚本。 但是,从crontab运行时,它会失败,因为它不运行/etc/profile.d/中的脚本(例如/etc/profile.d/java.sh)

什么是解决这个问题的最好方法?

  • 裸机configuration给客户如何使用PXE
  • 不同帐户的不同SSHauthentication策略
  • 专用Web服务器:双核3.0GHz四核2.4GHz
  • 有没有办法提交一批命令到思科路由器,并让他们从路由器执行?
  • 在postfixconfiguration文件中逃脱美元符号

用以下命令启动shell脚本:

#!/bin/bash -l 

这导致bash作为loginshell启动,这意味着它将读取/ etc / profile和〜/ .bash_profile。

在你的crontab上设置SHELL:

 SHELL=/bin/bash * * * * * # your_job 
  • 安装Trac而不在Apache中设置VirtualHost?
  • WinXP和Win7不同的强制用户configuration文件
  • 如何恢复与puppetconfiguration
  • GeoIPconfiguration到nginx中
  • 是否有可能创build一个软件RAID 10使用SAN LUN的服务器提供4path?
  • 我应该避免使用git来跟踪具有单独历史logging的单个文件,例如/ var / named?
  • zfs设置在哪写的?
  • 冗余服务器应该有完全相同的configuration,还是略有不同?
  • 在哪里放置Nginx IP黑名单configuration文件?
  • imagemagick的高效服务器configuration

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy