jobs

Python: Scheduling cron jobs with time limit?

Python: Scheduling cron jobs with time limit? Question: I have been using apscheduler. A recurring problem regarding the package is that if for any reason, a running job hangs indefinitely (for example if you create an infinite while loop inside of it) it will stop the whole process forever as there is no time limit …

Total answers: 1

Google BigQuery Batch Query – job state is not updating after the job finished

Google BigQuery Batch Query – job state is not updating after the job finished Question: I run a google BigQuery batch query in a python script in jupyter notebook. Usually, the query takes about an hour when running in interactive mode. Today in the morning I checked and the script still displays the job is …

Total answers: 2

Maya Python Script Job Attribute Change

Maya Python Script Job Attribute Change Question: I am trying to get one boolean attribute (A) to change another(B). The one to be controlled (B) already has a script job running it and so I can’t create a set driven key, direct connection, or expression to control it, so I’m trying another script job, since …

Total answers: 2

How can I run a python code with input on Linux terminal?

How can I run a python code with input on Linux terminal? Question: I have a file named myadd.py that contains only the following function: def myadd(a,b): return a+b How can I run it on Linux terminal? I am looking for something easy like this: python myadd 2,3 My final goal is to send multiple …

Total answers: 4

aws Glue job: how to merge multiple output .csv files in s3

aws Glue job: how to merge multiple output .csv files in s3 Question: I created an aws Glue Crawler and job. The purpose is to transfer data from a postgres RDS database table to one single .csv file in S3. Everything is working, but I get a total of 19 files in S3. Every file …

Total answers: 2