backgroundjobs.js 943 B

1234567891011121314151617181920212223242526272829
  1. /**
  2. * ownCloud
  3. *
  4. * @author Jakob Sack
  5. * @copyright 2012 Jakob Sack owncloud@jakobsack.de
  6. *
  7. * This library is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
  9. * License as published by the Free Software Foundation; either
  10. * version 3 of the License, or any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
  16. *
  17. * You should have received a copy of the GNU Affero General Public
  18. * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  19. *
  20. */
  21. // start worker once page has loaded
  22. window.addEventListener('DOMContentLoaded', function(){
  23. $.get( OC.getRootPath()+'/cron.php' );
  24. $('.section .icon-info').tooltip({
  25. placement: 'right'
  26. });
  27. });