hi all ,
I created a GUI application on QT 3.1 on red HAT LINUX. Now i want to run this application automatically just after log in as ROOT. How can i do this . If I want to run my application daily at 4:30 PM then what to do for it.
I tried it using cron but could not successful . Any idea will be appriciable.
On cron i make a sch.cron file by writing
30 16 * * * /root/scheduler/schedule (my binary file path) and keep this on root directory.
Now I load it into the crontab using command crontab sch.cron .
If i check the schedule work by crontab -l then it shows
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/kde-root/kcronWQeztb.tmp installed on Fri Dec 23 19:34:48 2005)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
30 16 * * * /root/scheduler/schedule
# This file was written by KCron. Copyright (c) 1999, Gary Meyer
# Although KCron supports most crontab formats, use care when editing.
# Note: Lines beginning with "#\" indicates a disabled task.
BUT it does not work . any other idea to do it so, or where i am doing wrong.
regards
NAV