Replies: 4 comments 2 replies
-
name: Run Weather Script
on:
schedule:
- cron: '30 10 * * *' # Runs every day at 10:30 AM UTC
workflow_dispatch: # Allows manual execution from GitHub
jobs:
execute_script:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run the script
run: python ./charo.py try this |
Beta Was this translation helpful? Give feedback.
-
Gracias, Pero eso estaba bien en el código name: Run Weather Script. El fallo no estaba ahí. No sé donde está, pero no se ejecuta automáticamente, Sí, de forma manual. Gracias por todo on: jobs: |
Beta Was this translation helpful? Give feedback.
-
hey @PitziPana Quick heads-up: The weather script workflow in the repo was created about 18 hours ago. You manually triggered it since it hadn't run automatically due to its recent creation. It's set to run tomorrow at 10:30 AM UTC and will continue daily from there. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Tengo un problema, un script en python que he subido a GitHub para que se ejecute todos los días a una hora funciona siempre que lo haga manualmente, pero no en automático. he creado el siguiente código : name: Run Weather Script
on:
schedule:
- cron: '30 11 * * *' # Ejecuta todos los días a las 10:30 AM UTC
workflow_dispatch: # Permite ejecuciones manuales desde GitHub
jobs:
execute_script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run the script
run: python ./charo.py
pero no va en automático. SÍ, SI LO EJECUTO MANUALMENTE
Beta Was this translation helpful? Give feedback.
All reactions