Skip to content

Commit

Permalink
better wheneverization for backup. fising missing token problem
Browse files Browse the repository at this point in the history
  • Loading branch information
cromulus committed May 15, 2016
1 parent a5d3024 commit 42af5f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(document).on('ready page:load', function () {
// simple mobile detection
var isMobile = window.matchMedia("only screen and (max-width: 760px)");
var buttons = '';
if (token !== 'false') { buttons = ' event_slots,reservations'; }
if (token_param !== '') { buttons = ' event_slots,reservations'; }
$('#calendar').fullCalendar({
customButtons: {
event_slots: {
Expand Down
2 changes: 1 addition & 1 deletion config/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
set :output, "#{path}/log/cron_log.log"
#
every 30.minutes do
command "backup perform --trigger my_backup -r #{path}Backup/"
command "backup perform --trigger my_backup -r #{path}/Backup/"
end

# this queues up all the email/sms for the day!
Expand Down

0 comments on commit 42af5f2

Please sign in to comment.