<jupyter_start><jupyter_text>Naas - Scheduler demo Read the doc: https://naas.gitbook.io/naas/features/scheduler Transform all your work routines in notebooks and run them even when you sleep.<jupyter_code>import naas<jupyter_output><empty_output><jupyter_text>Here we are going to use the Notifications feature to test Scheduler.<jupyter_code>email_to = "<EMAIL>"
subject = "Naas Scheduler Test"
content ='''<p>If i put html in there..&nbsp;</p>
<p><img src="https://specials-images.forbesimg.com/imageserve/5f1f37a40a5db2c8275972c0/960x0.jpg?fit=scale" alt="" width="959" height="663" /></p>'''

naas.notifications.send(email_to, subject, content)
naas.scheduler.add(recurrence="0 1 * * *")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14127423822714683, 'fraction_numerical': 0.038781163434903045, 'mean_word_length': 6.945054945054945, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, '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}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '112855', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 277, 'n_tokens_neox': 261, 'n_words': 57, 'path': 'Naas/Naas_Scheduler_demo.ipynb', 'repo_name': 'dineshh912/awesome-notebooks', 'size': '743'}