Shortly, the mentioned program doesn`t work!
I want to start Gnumeric together with a file six times a day. The command I use works fine iin terminal and from Antix`s main menu. The same one is writen in crontab (exception is JOB_ID_6):
$ sudo cat /var/spool/cron/crontabs/igor
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/tmpCaiMK0 installed on Mon Feb 2 01:28:25 2015)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
55 6 * * * gnumeric /home/igor/Documents/Secer/Secer-merenja.xls # JOB_ID_1
55 9 * * * gnumeric /home/igor/Documents/Secer/Secer-merenja.xls # JOB_ID_2
55 11 * * * gnumeric /home/igor/Documents/Secer/Secer-merenja.xls # JOB_ID_3
55 15 * * * gnumeric /home/igor/Documents/Secer/Secer-merenja.xls # JOB_ID_4
55 18 * * * gnumeric /home/igor/Documents/Secer/Secer-merenja.xls # JOB_ID_5
55 21 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 6 >/dev/null 2>&1 # JOB_ID_6
The only message it outputs in terminal is:
"Gnome-Message: gnome_execute_async_with_env_fds: returning -1"
My attempts in Ubuntu 14.04 where successful.
I'm (igor) in"cron.allow" file - it is fact for Antix and Ubuntu.
What can I do?
Are there any other program with same assignment?
Thanks in advance.
topic title: antiX-13 Luddite and Gnome-schedule
2 posts
• Page 1 of 1
-
Posts: 19
- Joined: 19 Jun 2013
-
Posts: 19
- Joined: 19 Jun 2013
#2
After experimentig with gnome-schedule, conclusion is that the program works both on Antix and Ubuntu _only_ if"X application: suppress output" mode is used for running the scheduled task (for me it is: gnumeric some_file). In such a case the content of crontab is:
igor@antiX1:~/Documents/Secer
$ sudo cat /var/spool/cron/crontabs/igor
[sudo] password for igor:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/tmpl1kbJD installed on Wed Feb 4 11:02:05 2015)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
55 6 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 1 >/dev/null 2>&1 # JOB_ID_1
55 9 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 2 >/dev/null 2>&1 # JOB_ID_2
55 11 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 3 >/dev/null 2>&1 # JOB_ID_3
55 15 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 4 >/dev/null 2>&1 # JOB_ID_4
55 18 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 5 >/dev/null 2>&1 # JOB_ID_5
55 21 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 6 >/dev/null 2>&1 # JOB_ID_6
igor@antiX1:~/Documents/Secer
$
The only difference between Antix and Ubuntu is that with Antix I can't make a"test run" (Run task - from the main windows) of scheduled jobs. The error message, mentioned in my first letter, appeares if I try to do that.
igor@antiX1:~/Documents/Secer
$ sudo cat /var/spool/cron/crontabs/igor
[sudo] password for igor:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/tmpl1kbJD installed on Wed Feb 4 11:02:05 2015)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
55 6 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 1 >/dev/null 2>&1 # JOB_ID_1
55 9 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 2 >/dev/null 2>&1 # JOB_ID_2
55 11 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 3 >/dev/null 2>&1 # JOB_ID_3
55 15 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 4 >/dev/null 2>&1 # JOB_ID_4
55 18 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 5 >/dev/null 2>&1 # JOB_ID_5
55 21 * * * /usr/bin/python /usr/share/gnome-schedule/xwrapper.py c 6 >/dev/null 2>&1 # JOB_ID_6
igor@antiX1:~/Documents/Secer
$
The only difference between Antix and Ubuntu is that with Antix I can't make a"test run" (Run task - from the main windows) of scheduled jobs. The error message, mentioned in my first letter, appeares if I try to do that.