running scheduled programs in linux
Edit the current configuration for crontab with:
crontab -e
Normally we'd created bash script files located in /usr/local/bin and have them specified for execution within our crontab configuration.
TextSnippets > deckard > administration
2760 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
crontab -e
postsuper -d ALL deferred
shutdown -rf +1 "Scheduled test of system reboot"
udo mv /System/Library/LaunchDaemons/com.apple.dashboard.advisory.fetch.plist /System/Library/
export PATH=/opt/local/bin:/opt/local/sbin:$PATH export DISPLAY=:0.0 export EDITOR=/usr/bin/vim case $TERM in xterm* | aterm | rxvt | screen ) XTITLE="\[\e]0;\u (\w)\a\]" ;; * ) XTITLE="" ;; esac PS1="$XTITLE""[\u:\w]\n\\$ " . /etc/aliases_bash
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
ln -s ../lib/mysql5/bin/mysql /opt/local/bin/mysql
/opt/local/share/mysql5/mysql
./mysql.server stop ./mysql.server start
sudo cp my-small.cnf my.cnf
echo "database backup for 070614" | mutt -s "backup: myerasmus_db_070614" -a erasmus_db_070614.sql.bz2.gpg [email address]
gpg -e -r Bob file
gpg --output <filename> -d [file]
@ <IP address of web server> * <IP address of web server>
ssh-keygen -t rsa
sftp root@<server address> lcd /home/<your login>/.ssh put id_rsa.pub
ssh root@<server address> cd .ssh cat id_rsa.pub >> authorized_keys
RSAAuthentication yes PubkeyAuthentication yes
/etc/init.d/ssh reload
ssh -v root@<server address>
sudo ln -s /usr/local/sbin/apachectl /etc/init.d/apache2 sudo chmod +x /etc/init.d/apache2
sysv-rc-conf
postfix reload
xauth list xauth add ubuntu/unix:0 . 8443108aff2df3cff0d91fa307ad3885
apt-cache search linux-headers-$(uname -r) apt-get install linux-headers-$(uname -r)
apt-get zlib1g-dev cd /usr/local/src/ruby-1.8.6/ext/zlib ruby extconf.rb --with-zlib-include=/usr/include --with-zlib-lib=/usr/lib make make install
ruby setup.rb
apt-cache search <search string>
<IfModule dir_module> DirectoryIndex index.html index.php IfModule>