View Single Post
  #1  
Old 27th May 2013, 10:39
Frankly3D Frankly3D is offline
Junior Member
 
Join Date: Dec 2006
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default crontab -e syntax errors

In the terminal :# /bin/repoquery --queryformat %{name} --installed -a
/lists/64/"$(hostname -s).list"

works.


Keep getting syntax errors running it as a cronjob :
crontab -e
/bin/repoquery --queryformat %{name} --installed -a
/lists/64/"$(hostname -s).list"

Have tried different syntax,' " around name, = to name,
prepend /bin/bash, append exit
Still errors,
__________________
frankly3d.com
"Still Learning"
Reply With Quote
Sponsored Links