- filePath=/home/temp/Desktop/mycron.txt
- touch $filePath
- crontab -l > $filePath
- echo "* * * * * sh /home/temp/Desktop/tempscritps/auto.sh" >> $filePath
- crontab $filePath
- rm $filePath
SHARE
TWEET
cron script
a guest
Apr 12th, 2012
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

