一點心得分享
顯示具有
crontab
標籤的文章。
顯示所有文章
顯示具有
crontab
標籤的文章。
顯示所有文章
2018年10月19日 星期五
anacron /sbin/shutdown -h now
最近因為電腦升級加上硬碟損壞,使用舊的ubuntu備份時,一直發現隔天早上ubuntu會自己關機,但是crontab裡面又沒有設定關機。因為最近又很忙,一直沒時間細找只覺得很奇怪,今天總算有時間去看syslog。發現原來是/etc/cron.d/anacron裡面有設定卻忘記。寫下來幫助記憶。
使用的指令
grep
-
rnw
'/path/to/somewhere/'
-
e
'pattern'
參考資料
自己
http://linux.vbird.org/linux_basic/0430cron.php
2014年1月13日 星期一
ubuntu virtualbox 共用資料夾 plexWatch, splashtop streamer, xrdp on ubuntu 13.10
接續上篇使用ubuntu設定plexwatch web時也遇到一些問題,整理如下。
virtualbox共用資料夾位置在/media
需要先將使用者加入群組
virtualbox預設為vboxsf
終端機輸入指令
sudo gpasswd -a 使用者帳號 vboxsf
在設定crontab工作時不要輸入使用者名稱
twitter則需填入consumer_key, consumer_secret, access_token, access_token_secret四項,並且create my access token
ubuntu軟體中心位置 /usr/bin/software-center
remotebox不知為何無法成功使用,使用phpvirtualbox取代
virtualbox如果要使用遠端控制(非windows內建的遠端桌面)則需安裝extension pack
xrdp如果遇到灰色畫面無法進入則輸入以下指令,原因是gnome更動了設定
sudo apt-get install xrdp
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.10
sudo apt-get update
sudo apt-get install xfce4
echo xfce4-session >~/.xsession
ubuntu上使用splashtop streamer需要輸入以下指令否則目前無法使用於13.10(官方尚未支援)
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude safe-upgrade
python /opt/splashtop-streamer/SRStreamer.pyc
sudo aptitude install python-appindicator
參考資料
共用資料夾權限
http://ubuntuforums.org/showthread.php?t=1921707
http://www.mobile01.com/topicdetail.php?f=300&t=3122670
plexWatch on ubuntu
http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/
https://github.com/ljunkie/plexWatch/blob/master/README.md
crontab
sudo gedit /etc/cron.d/anacron
http://askubuntu.com/questions/2368/how-do-i-set-up-a-cron-job
xrdp 灰畫面
http://c-nergy.be/blog/?p=4448
http://askubuntu.com/questions/266271/xubuntu-12-04-desktop-grey-with-no-icons
plexWatch email notification
https://forums.plex.tv/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped/
ubuntu splashtop streamer on 13.10
https://support-splashtoppersonal.splashtop.com/entries/30097576-Splashtop-Streamer-on-Ubuntu-13-10
http://qiita.com/nyarla/items/4202ddb8e29e2d0ddd65
http://timothyandrewbarber.blogspot.tw/2011/02/finding-config-folder-in-ubuntu.html
RemoteBox
http://knobgoblin.org.uk/downloads.cgi
http://www.openfoundry.org/tw/foss-programs/8319--virtualbox-remotebox
http://www.ibm.com/developerworks/cn/linux/l-cn-remotebox/
http://www.openfoundry.org/tw/foss-programs/8319--virtualbox-remotebox
phpvirtualbox
http://www.arthurtoday.com/2011/11/windows-phpvirtualbox.html#.Usl3t_QW2tQ
http://blog.segmentfault.com/jifei/1190000000346904
vboxwebsrv.exe
https://forums.virtualbox.org/viewtopic.php?f=6&t=38449
http://nikolas.demiridis.gr/post/10280216759/how-to-run-vboxwebsrv-as-a-service-on-windows-2008
virtualbox rdp extension pack
http://www.virtualbox.org/manual/ch07.html#vbox-auth
ubuntu切換2D
http://www.mobileai.tw/2013/01/08/ubuntu-12-10-2d/
PlexWatch ip address必須與PMS在同一台電腦上(localhost)才可正常抓取
https://forums.plex.tv/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped/page-21#entry483408
較舊的文章
首頁
訂閱:
文章 (Atom)