generate a new sitemap everyday at 5:00am
This commit is contained in:
@@ -22,3 +22,7 @@
|
||||
every 1.minute do
|
||||
command "date > ~/cron-test.txt"
|
||||
end
|
||||
|
||||
every 1.day, at: '5:00 am' do
|
||||
rake "-s sitemap:refresh"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user