at

How do I schedule one-time tasks from a Perl CGI application?

I am writing an application to allow users to schedule one-time long-running tasks from a web application (Linux/Apache/CGI::Application). To do this I use the the Schedule::At module which is the Perl interface to the "at" command. Since the scheduled tasks are not repeating, I am not considering "cron". I have two issues with "at" thou...

When deleting SMS, they don't get deleted

Hi there! I connected a GSM/GPRS-modem to my microcontroller and everything works fine. When I want to delete all messages in the ME storage, I should use this command: AT+CMGD=1,4 ->OK The deleteflag '4' indicates that I want to delete all messages and flag '1' is overridden. However, when I check if the storage is empty, I get: A...

AT,RIL how to use

How to use AT at Windows Mobile phone not connect with PC? ...

What is the best design for polling a modem for incoming data?

I have a GSM modem connected to my computer, i want to receive text messages sent to it using a python program i have written, am just wondering what is the best technique to poll for data. Should i write a program that has a infinite loop that continuously checks for incoming sms's i.e within the loop the program sends the AT commands...

AT command AT+CPMS="SM","SM","MT"

I needed a clarification about the AT command AT+CPMS="SM","SM","MT" Although this AT command work with most of the UEs,it however gives an error msg with the Nokia N72... I tried the AT command AT+CPMS=? & the mobile's response was "+CPMS: (),(),()" & I tried the AT command AT+CPMS? & the response was "+CPMS: ,,,,,,,,". Does this mean...

list and kill at jobs unix

i have created a job with at command on solaris 10 it's working now but i want to kill it but i dont know how can i find job number and how to kill that job or process any help ? ...

Library to send SMS messages via IP connected device

Hello, I'm looking for a library (win32) to be used in a Delphi project that will enable me to send and receive SMS (text messages) via GSM modem devices connected via Ethernet (listening on an IP address). All the libraries I found until now support devices connected via COM/USB/bluetooth/InfraRed, but non of them support a direct co...

adding textboxes at runtime in asp.net

hey... i need to create textboxes dynamically as user specifies the no..actually there are two textboxes in a row..user specifies no of rows needed.. as specified textboxes(two per row) should be added to the form and also i need to read the text entered later....what is the best method?? ...

Check which network a HUAWEI modem is connected to using an AT command?

What is the AT command to get the network name on a HUAWEI USB modem? ...

how to rename filename in sdcard with android application?

In my Android application, I want to rename the file name at runtime. How can I do it? This is my code: String[] command = {" mv", "sun moon.jpg"," sun_moon,jpg"}; try { Process process = Runtime.getRuntime().exec(command); } catch (IOException e) { Toast.makeText(this, ""+e, Toast.LENGTH_LONG).show(); } I also used renameTo...

Software for installing all at once with specific drive determination?

Hello! cud anyone help me with a software which installs favourite softwares all at once but giving the option of specific location to be installed.I would like to make sure that my application is installed in the correct location on the hard drive or allow the user to determine the install location. How can I do that? Thanq ...

Implementing escape sequences for a serial devices

Hello everyone! I have a serial device connected to a linux host. The host will be need to be able to process standard AT commands. I need to include the standard AT '+++' escape sequence for a serial device.. I haven't had much luck finding code. Anyone know of any open source libraries or code I can take a look at for the actua...

Assembly at&t doubt

What's mean lea 0x4(%esp),%ecx in at&t assembly? What really is 0x4(%esp)? ...

Schedule a job in Gearman for a specific date and time

From what I can see Gearman does not support scheduled jobs or delayed jobs. I was thinking that perhaps the scheduled job could be queued in at first and then added to the Gearman queue after the at time period has expired. at tasks are persistent as they are written as files to a directory in the spool directory of the server. So the ...

how to use at command to set python script execute at specifiecd time

when i try to use cron to execute my python script in a future time,i found there is a command at,AFAIK,the cron is for periodly execute,but what my scenario is only execute for once in specificed time. and my question is how to add python script to at command, also it there some python package for control the at command my dev os is ub...

Is there a app or python package for managing background python script add,execute,stop ?

I want an app or python package that can 1.Dynamicly add python script to the background 2.Execute a specificed time 3.Check is this python script is running, 4.Also i can kill the current execute script. Is already has such package,so i needn't care about cron,at,check processing is running etc. Any advice is appreciated Cron on...

Cron job from php (at command to be exact)

Hi, I want to run a script just ONCE by setting up a cron job using "at" command. I'm using this now: <?php include "config.php"; if (isset($_POST['add'])) { $sql = mysql_query("INSERT INTO {$table}(msg) VALUES('{$_POST['msg']}')"); if ($sql) { $cmd = "wget /var/www/index.php?id=" . mysql_insert_id() . " | sudo at " . $_POST['runa...

Creating an "at" job from command line for a MYSQL query

From the command line, I want to create an at job to run a mysql query. As you can imagine searching on google or here stackoverflow for "at" is difficult. This works fine and the query runs like it ought to: mysql -e 'MY QUERY;' but if I do this: at 17:30 mysql -e 'MY QUERY;' At 5:30 I get a mail that tells me "UPDATE: command n...

how to authenticate encrypted password at LDAP server

How to authenticate encrypted password at LDAP server ...

How can I use two pipes in c;

Write a program in C that creates a child and between father and child, there will be two-way communication using pipes. His father would read a file (whose name will give the user) and will send letters to the child. The child will count the number of words starting from 'a' if the number is, whether X is greater than 5, then the child ...