Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crython is not working #302

Open
harimurugesan opened this issue Feb 14, 2019 · 1 comment
Open

crython is not working #302

harimurugesan opened this issue Feb 14, 2019 · 1 comment

Comments

@harimurugesan
Copy link

No description provided.

@micimize
Copy link

You need to provide more details here. I personally struggled to get started because my job was raising an Exception that was being swallowed:

import crython

@crython.job(expr='@reboot')
def exceptional_job():
    try:
        assert False, 'would be swallowed without the try/catch'
    except Exception as e:
        print(e)
        raise e

crython.start()
crython.join()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants