I have some commands i type into shell to delete a directory, and add a new one
something like
rm -f dir2/folder
cp dir1/folder dir2
i was wondering how i could get these commands and run them via cron?
Thankyou.
| SitePoint Sponsor |



I have some commands i type into shell to delete a directory, and add a new one
something like
rm -f dir2/folder
cp dir1/folder dir2
i was wondering how i could get these commands and run them via cron?
Thankyou.
you can always put them in a script, one file, change permission on this file to be able to execute it:
chmod 744 yourfile
and then add to cron
hope this helps![]()
Anetus Ltd. - www.anetus.com
Web design, Joomla! CMS - custom templates, components
Bookmarks