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

railway部署成功后如何查看每天是否按时运行脚本 #91

Open
lwb1978 opened this issue May 25, 2022 · 9 comments
Open

railway部署成功后如何查看每天是否按时运行脚本 #91

lwb1978 opened this issue May 25, 2022 · 9 comments

Comments

@lwb1978
Copy link

lwb1978 commented May 25, 2022

已通过railway部署成功,但是在Deployments只有之前手动运行成功的log,请问如何查看计划任务所的设置时间是否运行了自动脚本?谢谢。

@luolongfei
Copy link
Owner

目前没办法查看历史日志。

@luolongfei
Copy link
Owner

不放心可以开启每次执行都推送。

@lwb1978
Copy link
Author

lwb1978 commented May 25, 2022

感谢答复。

@DifferentSparkler
Copy link

感谢答复。

搞个邮件通知 TG通知就知道了啊

@VineFiner
Copy link

每天执行,会被封号吗?

@luolongfei
Copy link
Owner

@VineFiner 目前不会。不放心可以自定义 cron 命令,按你想要的频率执行。

@VineFiner
Copy link

@VineFiner 目前不会。不放心可以自定义 cron 命令,按你想要的频率执行。

环境变量里面可以配置吗?railway今天刚注册,不太懂配置。

@VineFiner
Copy link

freedom续费有效期14天,感觉这个定时可以设置为5天或者7天。

@luolongfei
Copy link
Owner

@VineFiner 可以配置的,环境变量里定义一个名为 RUN_AT 的变量,值可以设置为 cron 表达式,具体表达式怎么写可以自行谷歌。

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

4 participants