Sponsored Content
Top Forums Shell Programming and Scripting Crontab Permissions Issue with Python Post 302416058 by alister on Saturday 24th of April 2010 03:03:00 PM
Old 04-24-2010
Is it trying to open the filename with an appended newline? Note the closing quote around the filename in the error message begins on a second line.

Regards and welcome to the forum,
Alister
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Python and Crontab

Hi, I am running a Python program using crontab as follows: * * * * * /home/usernine/metriculate.py But I keep getting an error: import: unable to open X server The following is what was in my mail on execution of crontab: X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env:... (7 Replies)
Discussion started by: davidfrank
7 Replies

2. Linux

permissions issue

We are trying to run a program on a Red Hat ES3 machine that works fine under root user but not as any other user. I believe its getting denied access to the USB ports (which this program needs), Does anyone know how i can open up access to the USB ports on a machine to all users. Thanks, Frank (0 Replies)
Discussion started by: frankkahle
0 Replies

3. UNIX for Dummies Questions & Answers

python and crontab

Hi all, I have a cron job defined in my crontab to execute once every day. This works perfectly fine on my local installation. However for some reason the job never runs on the actual server. Below are my crontab entires in my local crontab and server crontab respectively 0 10 * * * cd... (2 Replies)
Discussion started by: vamsy
2 Replies

4. Solaris

finding crontab and permissions

hi , how/where to find crontab and permissions that whether my user id has crontab permissions or not . I need to schedule one job through one application(datastage application) which is installed on sunsolaris envirobnment. When i try to schedule job/s, i am getting error that "Error... (3 Replies)
Discussion started by: sridhardwh
3 Replies

5. Shell Programming and Scripting

Permissions Issue

Hi Experts, I have one ftp user which will FTP the files to two subdirectories of some other user. Say i have one user "xyz" . It FTP's the file to the directory of "abc" user. I have added xyz user in abc group. -rw-r--r-- 1 xyz abc 0 Jul 26 10:05 mo -rw-r--r-- 1 xyz abc ... (1 Reply)
Discussion started by: sugarcane
1 Replies

6. Shell Programming and Scripting

Permissions issue

Hi, I have a shell script which calls oracle procedure. Procedure creates a file using oracle utl_file and places file on unix server at loaction /tmp. The file permission is getting set to 640 (Owner=oracle, group=dba) I need it to be 644 by default. (So others can read it.) The umask... (4 Replies)
Discussion started by: krishna_gnv
4 Replies

7. Solaris

Permissions issue

Hello, I'm having an issue with a directory that is used to forward Windows logs. I have a user account on Windows servers that uses SCP to put logs on my Solaris 10 server. A appliance called LogLogic then takes the logs from my server and stores them. I need to have have group read so the... (8 Replies)
Discussion started by: bitlord
8 Replies

8. Programming

To check the file permissions using python scripting

Hi, For a particular set of files, am trying to check if they are writable. i.e., checking whether they are having permissions greater than 755. Am able to check this using the statement: "if (os.path.isfile(FILE_PATH) and (os.stat(FILE_PATH).st_mode & 0777) == 0777):" But the problem here... (0 Replies)
Discussion started by: arjun_arippa
0 Replies

9. Shell Programming and Scripting

To check the file permissions using python scripting

Hi, For a particular set of files, am trying to check if they are writable. i.e., checking whether they are having permissions greater than 755. Am able to check this using the statement: "if (os.path.isfile(FILE_PATH) and (os.stat(FILE_PATH).st_mode & 0777) == 0777):" But the problem... (1 Reply)
Discussion started by: arjun_arippa
1 Replies

10. UNIX for Dummies Questions & Answers

CRONTAB - one python script is not running

Hi! I'm using a RaspberryPi with standard Raspbian. Currently I'm working on some sort of weather station. For now I have three python scripts - one which is updating txt files for website - update1m.py ( it will not be necessary in few next days so I'll delete it) , second one for updating... (4 Replies)
Discussion started by: bartocham
4 Replies
Pod::Index::Entry(3pm)					User Contributed Perl Documentation				    Pod::Index::Entry(3pm)

NAME
Pod::Index::Entry - Represents Pod search result SYNOPSIS
use Pod::Index::Entry; my $entry = Pod::Index::Entry->new( keyword => 'constructors', podname => 'perlobj', line => 42, filename => '/usr/lib/perl5/5.8.7/pod/perlobj.pod', context => 'Using POD', ); # trivial accessors my $podname = $entry->podname; my $filename = $entry->filename; my $line = $entry->line; my $context = $entry->context; my $keyword = $entry->keyword; # extract the POD for this entry my $pod = $entry->pod; DESCRIPTION
This class represents a POD index entry. An entry is defined by the podname/filename, line number, and context. The entry object also has the ability to extract the POD "scope" from the filename. METHODS
new my $q = Pod::Index::Entry->new(%args); Create a new search object. Possible arguments are: podname The name of the pod, such as . filename The filename for the pod, such as Data/Dumper.pm. line The line number where the scope of this entry begins. context The title of the section that contains this entry. podname filename line context These are just simple accessors that return the value of these properties, as given to the constructor. pod Extracts the POD for the scope of the entry from $self->filename, beginning at $self->line. For a definition of scope, see Pod::Index. The POD extraction is delegated to the Pod::Index::Extract module. VERSION
0.14 SEE ALSO
Pod::Index, Pod::Index::Search, Pod::Index::Extract AUTHOR
Ivan Tubert-Brohman <itub@cpan.org> COPYRIGHT
Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2005-10-16 Pod::Index::Entry(3pm)
All times are GMT -4. The time now is 12:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy