D
D
dzhikaev2015-07-15 13:00:48
SSH
dzhikaev, 2015-07-15 13:00:48

How to fit a task into gnome-schedule via ssh?

I connect via ssh to the server and I need to enter the task in the gnome-schedule the
first one for 01 minutes - firefox vk.com
the second one for 59 minutes - pkill -15 firefox
how to do it via ssh?
because this needs to be done on several servers, and one and the same thing is reluctant to do a hundred times)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AVKor, 2015-07-15
@AVKor

ssh -X [email protected]_server 'gnome-schedule'

V
Vasily Pechersky, 2015-07-15
@Vasily_Pechersky

on several servers and one and the same thing

Use ansible.
gnome-schedule is the front end to crontab. Edit it from console/ansible/script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question