0
votes
0answers
28 views

Cpanel cron timing issue

I am running a cpanel server. I set a cron task to run every minute. So in my cron tab I set like below- * * * * * php /path_to_script >/dev/null 2>&1 Initially the task added ...
0
votes
1answer
79 views

How to run Firefox with AT command in Linux?

I try to run a specified command on a desired time. I found at for this, and it seems to work fine if I run: echo "ls -al / > /home/florin/test.txt" | at 4:21am But I want to run a different ...
0
votes
0answers
34 views

Task queue/ scheduler

I want to write a process queue that can be utilized by multiple users, to run long running python processes, on a shared machine such that only a single process can run at a time due to resource ...
0
votes
2answers
1k views

Simple Linux-based task scheduler with job dependencies?

I'm maintaining a data-warehousing system that involves a lot of dependent jobs (data import, transform, etc). I've been using Linux's crontab to manage them until the dependency between jobs get ...
1
vote
7answers
2k views

Send a file from Windows to Unix as a nightly schedule

Let's say I have a common directory on a Windows server such as: \\servername\location\common. During the day, any user can come and add/remove files to that Windows directory. How would I setup a ...
2
votes
1answer
395 views

Have the at command return the job id of the task just submitted

Is it possible to have the at command return somehow the job id it just submitted when used from within a script? (kind of like $? retrieves the last exit code or $$/$! retrieve the PID of the command ...
3
votes
1answer
93 views

How can at execute a command from the command line

How can I schedule a command using at without having to include the command in a distict file, neither from the mini at shell that reads from standard input? That is I want to execute the command ...
2
votes
2answers
775 views

How to restrict use of a computer?

Suppose that some person is insomniac because of a bad habit of chatting on the IRC every night until 3AM. That completely ruins this person's life because he is unable to wake up on time to attend ...
7
votes
3answers
2k views

Is there any way to execute something when closing the laptop's lid?

I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid. My question aims to be generic, both for Windows and Linux. Something useful ...
4
votes
3answers
642 views

linux shell, keep task alive for specified time

I am looking for a tool to keep a task alive (restarting if necessary) for a specified amount of time (in seconds), and then kill it and stop. For example: keep_for 3600 rsync foo bar:faz should for ...
0
votes
2answers
237 views

How can I schedule to connect to a website on linux?

I would like to be able to do the same thing the scheduler does on Windows with Linux. Behavior on Windows: I open my browser, I go to mmorpg.com and I login. I select the “remember me” checkbox so a ...
5
votes
3answers
2k views

Run Linux script at time 'n' on first day, 'n+15 mins' next day, and so on

I'm trying to take timelapse images using my webcam. What I want to do is run a script at midnight on 1st Jan, then 00:15 on 2nd Jan, 00:30, 3rd Jan and so on. This can keep running forever, I'll ...
11
votes
4answers
3k views

How to set a Linux Ditribution to self-destruct (to wipe everything from the system partition) via a script

I know this is a rather strange question, but I actually need to implement something like this for work. I shall be helping to facilitate a course that uses licensed software. The software is somewhat ...