• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cron job

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

New on this forum and about cron jobs.
I need your help about on how to setup a cron job on my server.
I have to run on a regular basis a .cgi script but not able to write the proper command to get it running.
My server has a front-end panel that allows to set up comfortably the timing avoiding to enter specific Unix synthax, but however requires to write a command line that I don't know...
I tried up with the full path for the script but unsucessfully...

So I don't know what else to try up?

The output sent to me says "/bin/sh: the path I entered No such file/directory."

Please, could anyone help me to come out?

Thanks so much in advance

Sincerely

[ October 20, 2006: Message edited by: Learncron Learncron ]
[ October 20, 2006: Message edited by: Learncron Learncron ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Obviously fake names based on your question aren't OK. You can change your display name here. Thanks!
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Take a look at Automatically Running Unattended Programs or Setting up Cronjobs from Andy's Unix FAQ.

Use the full path to your script to run it. In addition, anything referenced in your script needs to have full path refereneced.
 
Seriously Rick? Seriously? You might as well just read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic