Score:0

crontab job to open terminal and run command in new terminal

bw flag

I'm using crontab to schedule python script but I want to open new terminal and run the command in it so I can interact with the terminal.

The script involves browser automation, so I need to manually solve captcha and press Enter to let the script continue. That's why I want to have the script running in a new terminal that I can see and interact with.

I am new to ubuntu so if there's any alternative to crontab please do suggest if it's not possible using crontab.

Here's what I tried

24 11 * * 1-5 gnome-terminal && bash /home/user/UpdatedScrapers/scheduler/run_growth_ai.sh

Thanks

Score:0
gb flag

I think you want gnome-terminal --execute bash /home/user/UpdatedScrapers/scheduler/run_growth_ai.sh which will open GNOME Terminal and run that script within

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.