<commit_before>#
# run the cron service (intended to be executed from a cron job)
#
# usage: manage.py cronjobs

from django.conf import settings
from django.core.management.base import NoArgsCommand
import django_cron

class Command(NoArgsCommand):
    help = "run the cron services (intended to be executed from a cron job)"

    def handle_noargs(self, **options):
        django_cron.autodiscover(start_timer=False, registering=False)
        print "cronjobs for %s finished" % settings.SITE_NAME<commit_msg>Change crontab finished message to include the current time.<commit_after>#
# run the cron service (intended to be executed from a cron job)
#
# usage: manage.py cronjobs

from datetime import datetime

from django.conf import settings
from django.core.management.base import NoArgsCommand
import django_cron

class Command(NoArgsCommand):
    help = "run the cron services (intended to be executed from a cron job)"

    def handle_noargs(self, **options):
        django_cron.autodiscover(start_timer=False, registering=False)
        print "%s cronjobs for %s finished" % (datetime.now(), settings.SITE_NAME)
{'fraction_non_alphanumeric': 0.07836153161175423, 'fraction_numerical': 0.0, 'mean_word_length': 4.6767676767676765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2483188', 'n_tokens_mistral': 336, 'n_tokens_neox': 316, 'n_words': 117}